Quote:
Originally Posted by Tom Line
The "wait" function does not mean finish the code then wait. It means to wait 5ms before asking that code to run again - from the time you last asked it to start running.
|
Hi Tom,
A few questions:
1) The "wait" function mentioned above, and the "Timer vi" mentioned by Mark... are you both referring to the same thing? The thing with the icon that looks like a clock?
2) In my post to which you replied, was my conclusion correct that the periodic task should be coded as a one-shot, and not wrapped in an infinite loop?
and finally
3) Are you sure that it means to wait 5ms
from the time you last asked it to start running? Or is it 5ms from whatever time it is when the CPU encounters the request to re-schedule?
~