01-29-2015 06:13 AM
Hi,
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?
01-29-2015 06:21 AM
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%.
01-29-2015 06:25 AM - edited 01-29-2015 06:25 AM
Thanks ToeCutter,
But am using wait loop in every while loop. It is not causing any effect.
If you have any example show me 🙂
01-29-2015 07:06 AM
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?