|
Re: Wait.VI on basic motor tutorial, need clarification.
The wait.vi used in the video is used to sleep the code (thread) running in the while loop for a short period in order to allow the processor time to complete other OS tasks. It is good programming practice to place these in all while loops.
The most common symptom of "starving" threads on the cRIO will be a loss of network connectivity. This would be due to your program consuming 100% of the CPU preventing the network thread from running.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
|