LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My PC is Getting slow when i run some appls or VIs.My PC usage shows 100%.

hii,
 
When Ever I run Some of the applications/VIs build in LabVIEW, my PC gets slow down and My PC shows 100% CPU usage.
Please let me know what would be the problem, can there be any problem with OS, i am using Windows XP.i have got Pentium 4 processor with 512MB RAM.
0 Kudos
Message 1 of 5
(2,786 Views)
Hi
 
Usually, the problem in such cases is in the vi. I assume that you have loops in your vis. Do you have an interrupt (e.g. wait until next ms multiple) in use?
 
If not, LV tries to execute the loop as fast as possible, which causes huge processor load.
 
Hope this helps.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 5
(2,777 Views)
Hi Roop,
 
without seeing your VI it could have a lot of opportunities.
If you have a while-loop in use you can try to use the "wait ms" or the "wait until next ms multiple" in the "Time & Dialog" functions.
Set the value to about 10ms for example.
 
 
Regards
ThomasD
0 Kudos
Message 3 of 5
(2,776 Views)

ROOP,

I agree with Thomas.  Place a wait in your loops.  Depending on how fast I want it to proceed, it is usually in the range of 4 - 10 ms, and on occasion, it may extend as high as 250 ms.

JLV

Message 4 of 5
(2,772 Views)
And make sure you are using the RUN button (right arrow) not the Run Continously button (2 arrows).
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 5
(2,752 Views)