LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Counter for Specified Time

Instead of Wait, use a Timed Loop.  It is much more accurate.  Also, with the wait function in a sequence structure, the first pane will execute and take some finite time.  Then the wait will execute.  That means that two step process is taking more than the wait time you specify.  If you use a Timed Loop, the entire loop will take 100mS to run.  So the counter will run, and the remainder of the 100mS will be the wait.  The effect is that the counter will run once exactly every 100mS.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 11 of 11
(184 Views)