LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.0 computer slow down problem

When using LabVIEW 8.0/8.2 Full Development suite I have been experiencing times when the cpu usage of LabVIEW goes to 99% and stays there causing it to lock up and have to terminate the process. I have experienced this several times while working on a large program that I have been developing. I thought it was due to low memory but have upgraded to 1Gig of memory and still have to same issue. This will ussually happen when I make a change to the program or save the changes I have just made.
0 Kudos
Message 1 of 6
(3,841 Views)

Hi Marty

I got the same problem with a program I made i LV8.2.

In the start off development there was no problem, but now I got slow-down problem.

It started when I made som big change in the program, so I think it has somesing to do whith the VI.

Can anybody give us a clue to solve it ?

 

best regards

Bjarne

0 Kudos
Message 2 of 6
(3,831 Views)
Yeah it happens to me a lot after making several changes. But I also have this same program, as well as a LabVIEW program to control a rate table running on a different computer than the one I am developing on that will start running dog slow for no apparent reason. And when you check the running processes LabVIEW.exe is taking 99% cpu time.
0 Kudos
Message 3 of 6
(3,828 Views)

Greetings!

   Can you please post some snapshots that describe the stucture of the VI. If you are running code inside a loop structure (while for instance), you will be required to put a software wait that gives the processor time to update the front panel controls and indicators amongst other tasks. There are tools like the VI profiler and memory usage that you can use to determine specific portions of the VI that causes the CPU usage spike.

http://digital.ni.com/public.nsf/websearch/8638139D6236D42086256A340073554A?OpenDocument

http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/vi_memory_usage/

http://digital.ni.com/public.nsf/allkb/862567530005F09C8625667B00044B35

Thanks and hope this helps
Regards
Avi Harjani



0 Kudos
Message 4 of 6
(3,796 Views)
Hi Avy
 
My problem is not in the RUN situation, but only when i save the VI  and if I run the the VI before I save it after a change.
 
best regards
Bjarne
0 Kudos
Message 5 of 6
(3,772 Views)

Dear Bjarne:

   Are you able to see this issue with other larger VIs or, do all the VIs slows down.  Lets shift gears a bit and see if now all VIs in the environment are slow than usual. Just restart the LabVIEW environment, make sure no other applications are open and that the CPU usage in the task manager does not show its resources being used by another application.  Then open up a brand new VI or some of our shipping examples. If you see the problem while editing VIs and then try to save, it would be specific to the environment you have installed. If it’s specific to the VI, I would take it to a different system with LabVIEW 8.2 and see if that happens? Can you try running the same VI on another LabVIEW development computer system?

http://digital.ni.com/public.nsf/websearch/862567530005F09C862565D40010CA3D?OpenDocument

http://forums.ni.com/ni/board/message?board.id=170&message.id=128375&requireLogin=False

LabVIEW will take little time (milliseconds to 1 or 2 seconds) depending on the size of the VI to save if it’s a large project. Is this the behavior you are concerned about? Can you try may be mass compiling VIs in your environment?  Please post some snapshots of task manager and the VI size and the block diagram to help us speed the troubleshooting process.

Thanks much

Avi Harjani




0 Kudos
Message 6 of 6
(3,733 Views)