LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

difference between waiting for millsecond and wait for millisecond multiple

pls help me out
0 Kudos
Message 1 of 3
(2,812 Views)
Hello,
There's a slightly difference between both.
"Wait (ms)" stock VI waits for the time you've wired to it.
"Wait Until Next ms Multiple" watches present time and waits until present time (a bit like "Tick Count (ms)") is a multiple of the time length you've wired to it. This means that the wait could be from 0 to the time length you've wired.

Hope this helps !
Julien
0 Kudos
Message 2 of 3
(2,812 Views)
Here two nice links about your question:

Differences Between "Wait (ms)" and "Wait Until Next ms Multiple"

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/12b2ea9ad5b265ad86256257004dd8e2?OpenDocument

Software Timed Loops using Wait (ms) and Wait Until Next ms Multiple

http://zone.ni.com/devzone/conceptd.nsf/webmain/E83351E12CD2D50886256B66006E4D15?opendocument

Hope it help
Message 3 of 3
(2,812 Views)