LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

prgram running extremely slow (99 percent CPU usage)

I am pretty sure this is because of some flawed programming on my part.
I am developing a data acquisition system using labview 7.0. The basic acquisition system is working fine. However somewhere in making the GUI and manipulating the graph display the program became extremely slow. I opened the task manager and found out that labview was using between 99-100% of the CPU. I ran some earlier versions of my program and that only consumes about 30-40% of the CPU.
I tried removing various parts but am unable to figure what could be doing so many computations.
What kind of programming could be doing this? I've attached my VIs as a zip file.

Thanks a ton.
0 Kudos
Message 1 of 2
(2,741 Views)
What I am assuming is the problem is that both loops are fighting each other. I assume that you are probably sampling faster than you need too. Try and place a wait in each of the loops and let one run faster than the other one. I am once again assuming that this is the problem. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 2
(2,741 Views)