LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exe closes but stays in Task Manager

Hi,

 

I am trying to resolve an intermittent issue where the LabVIEW executable closes, but stays in the "list of processes" in Task Manager.

 

LabVIEW exe does have the code to exit LabVIEW. It works as expected at times. However, at times when the Executable is closed, it will disappear from "Applications", but will stay put in "Processes" in Task Manager. During such instances, when the executable is opened, two executables show up in "Processes". I am concerned when this happens and was wondering if there is a way to clean it up or kill the process from Task Manager.  Inputs/suggestions are welcome.  Thank you.

0 Kudos
Message 1 of 5
(3,335 Views)

Is this the LabVIEW development enviornment, or a particular LabVIEW EXE that you compiled from a project?

 

Maybe an application reference in your code that is not closed properly?  Although... it should whether you explicitly close it or not.

0 Kudos
Message 2 of 5
(3,325 Views)
Sorry, I should have specified. It is a LabVIEW executable that I compiled from LV project explorer.
0 Kudos
Message 3 of 5
(3,312 Views)

Out of interest what method do you use to close the application and references?

 

What does the program do?  What processes does it use?  What operating system?  Which version of LV?

0 Kudos
Message 4 of 5
(3,300 Views)

Sounds to me like the Run-Time is sticking around in memory after the specific application is closed.  Sorry, I don't have a solution.  Can you make a very simple VI, compile and install it on your target machine to try and determine if the problem is with your application or with the LabVIEW run-time?

 

My knee-jerk reaction would be to uninstall the run-time, reboot, and re-install the run-time.

 

-Nic

0 Kudos
Message 5 of 5
(3,278 Views)