02-22-2010 08:58 PM
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.
02-22-2010 09:11 PM
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?
02-22-2010 09:34 PM
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.
02-22-2010 11:42 PM
Hi Ravens. Yes I am. Trying to make sense out of this sketch.
Now I see. Thanks
Thanks