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
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