From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimizing the Looprates of a While-Loop

How can I achieve to minimize the Looprates of a while-loop.
For example one loop per second?
0 Kudos
Message 1 of 2
(2,153 Views)
Add a delay inside your loop using either "Wait (ms)" or "Wait Until Next ms Multiple" (for this one, the first delay could be different). It is recommended to do the same thing for every intensive loop (of course, if you don't need the highest rate) in order to avoid high CPU usage (a 50-100 ms delay is enough).
Hope I understood your question.
0 Kudos
Message 2 of 2
(2,153 Views)