LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 100% CPU usage on exit

I have this app that runs on LV 2009 SP1.  When I try to exit it just sits there for several minutes, using close to 100% CPU on one or more threads inside NSubArrrayElts.  This code is almost identical to one that exits much cleaner on LV 7.1. (with the only changes due to have the code actually run in 2009).  Wonder what's going on.

0 Kudos
Message 1 of 5
(2,806 Views)

Can you post your code?

 

It could be due to a number of reasons.  Without seeing the code, it would be blind guesses.

0 Kudos
Message 2 of 5
(2,791 Views)

Can you post your code?

 

It could be due to a number of reasons.  Without seeing the code, it would be blind guesses.

0 Kudos
Message 3 of 5
(2,790 Views)

Can't post the code 🙂  Not only most of it is proprietary, it needs a lot of hardware attached to run it, and it's composed of over a thousand VIs ...

0 Kudos
Message 4 of 5
(2,786 Views)

Do you have any dynamic VI's?

 

Do you use property node(s) to close the VI?  notice that I did not say "stop the VI"...

 

Wow, there could be many reasons.  You may have to create a VI that verifies for any VI in memory and maybe query it's status (ie running).  That VI would run on the side to monitor what is going on..

0 Kudos
Message 5 of 5
(2,752 Views)