LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay in the while loop

Hi, Sometimes we need to use 'Delay' in the while loop to slow down the loop. I am wondering what happened behind it. It will free up the CPU usage?
Thanks.
0 Kudos
Message 1 of 2
(2,257 Views)
Yes. During the delay, the CPU is free to run other threads. Also, a delay of 0 ms will allow LabVIEW's internal scheduler to let other, parallel nodes execute if their input data is ready.

Lynn
0 Kudos
Message 2 of 2
(2,244 Views)