LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what is exactly wait (ms) though I understand its definition?

Hi What is exactly wait(ms)? and how does it work? When I tried to test it and the value is not correct.

See the pic below.

time2wait.JPG

0 Kudos
Message 1 of 4
(2,410 Views)

software timing at it's best.  the OS is not deterministic.  So it waits what is 'about' that amount of time.  If you need more precise timing, there are other avenues...

By the way.  You said that the values are incorrect, but did not disclose what the final time number was... so out of curiosity, what was it?


Paul
0 Kudos
Message 2 of 4
(2,407 Views)

Are you trying to judge something off the output of the Wait(ms) timer function?

 

The input into the function is how long to wait in milliseconds.  The output of the timer is (quoting context help) "the value of the millisecond timer".  That is the value of the computers internal tick counter which is basically the number of milliseconds since the computer was last started and will have no correlation to any real date or time.

Message 3 of 4
(2,394 Views)

Hi Ravens. Yes I am. Trying to make sense out of this sketch.

Now I see. Thanks

 

Thanks

0 Kudos
Message 4 of 4
(2,379 Views)