LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PC slows down after a while when running labview application

I have a labview 6 application which is monitoring some data on a feildpoint module, after a while this application slows down and there is a lot of activity on the hard disk drive, also the cpu monitor says 100% activity.
Is it something to do with the PC or is it some other reason?

Thanks

Allan
0 Kudos
Message 1 of 3
(2,370 Views)
Allan,
My first guess is "Who know's" without seing your VI and probing around; but, to get you started, run your VI and use Labview's tool "Profile VIs..." [Tools... Advanced...] and monitor memory and timing statistics. You may find a constantly increasing use of memory or a VI that consumes an unusual amound of processor time. Then you can troubleshoot from there.
Good luck with it, Doug
Message 2 of 3
(2,370 Views)
As an addendum to Doug's correct answer... Things to look for are uninitialized arrays feeding into shift registers, Build array and insert into array with the array never having anything deleted.

When memory in the computer is full, the OS starts using virtual memory on the hard drive. At this point, things slow down dramatically. This is what the problem sounds like.

Rob
0 Kudos
Message 3 of 3
(2,370 Views)