annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 2
2.607Visualizzazioni
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
Messaggio 2 di 2
2.594Visualizzazioni