LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application hangs up proportionally to the time it's been running

Hi, all.


I have a hang up problem in a project I'm working on. It happens always when I finish the execution. Depending on the time it's been running, it only keeps the user interface unavailable for a while (if it was a short execution), or hangs up and there's no other way to stop it than aborting using Windows Task Manager (if it was a long execution).


The project contains VIts and uses the execution in parallel of several VI clones, that are loaded into subpanels in the main VI front panel. I start the execution of these using VI Server property "Run VI", and insert them into the subpanels with the property "Insert VI". Then, when I exit the application, I abort their execution using "Abort VI" and remove them from the panels with "Remove VI".

 

It seems to be some memory release issue, but I'm not sure.


Could you give me some advice?


Thanks in advance,

Francisco

0 Kudos
Message 1 of 2
(2,104 Views)

Hi,

if the size that take Labview in windows system increase with time execution, there is a big chance for beeing a memory leakage problem.

 

The best would be to use the Labview Desktop Trace execution toolkit (I think you can try it free for 30 days), and this tool will show you the problems of you program.

 

If you don't want to use this tool, you have to search in your code where you open references and check that they're well closed.

 

 

Regards,

V-F
0 Kudos
Message 2 of 2
(2,063 Views)