Showing results for 
Search instead for 
Did you mean: 

Run 7 while loops in same vi


I have to run 7 threads in Labview 2012. If i run 7 while loops it is taking >50-85%of CPU.

Please let me know if you How to minimize this?


Thanks & Regards,
Harish. G.
0 Kudos
Message 1 of 4

You throttle the threads with either a wait block or timed loop structure where appropriate. Of course if you need all those loops processing away at full tilt it's going to cost you 50 to 85%.

0 Kudos
Message 2 of 4

Thanks ToeCutter,


But am using wait loop in every while loop. It is not causing any effect.


If you have any example show me 🙂  

Thanks & Regards,
Harish. G.
0 Kudos
Message 3 of 4

There are 1,000,001 reasons for high CPU usage.  Can you post your code?  What are your different loops doing?  Are you dynamically building arrays?

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4