LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application still shown in taskbar after closing executable

I've seen a couple other threads on this subject, but they did not offer a solution. I'm not sure if the taskbar entry will eventually go away or not. I've only waited a minute or two before ending the task in Task Manager.
 
My front panels appear to close, but my top level VI doesn't really have a front panel so I set it to be hidden. I have to end the task before I can run the EXE again. Thanks,
0 Kudos
Message 1 of 7
(4,305 Views)
It can sometimes takes a bit for the Run-Time Engine to unload, especially if the application is large. That's assuming you don't have a loop that's simply not stopping. Does your application have a main loop, and do you know if it's actually stopping?
0 Kudos
Message 2 of 7
(4,302 Views)


@Shane Nieukirk wrote:
My front panels appear to close, but my top level VI doesn't really have a front panel so I set it to be hidden. I have to end the task before I can run the EXE again. Thanks,

A hidden front panel will keep the application alive.
To end an executable all front panels must be closed!
So in the termination code of you application you should close the front panel of your hidden VI (use the 'Close FP' method).
That should do it.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 7
(4,273 Views)

Thanks Ton! That was the answer. I guess in development mode Labview closes the front panel for you...

Shane

0 Kudos
Message 4 of 7
(4,223 Views)

 

 How about if the user closes the panel with the "X" ?

0 Kudos
Message 5 of 7
(3,985 Views)

Hi dbtestcon!

 

Are you talking about closing the panel with the "X" in the development environment or an executable?

 

Kristen H.

0 Kudos
Message 6 of 7
(3,971 Views)

Executable.

 

I've played with it a few ways but never spent enough time to address it.  Instead of having the default Top Level Application settings, I customize the VI properties and take away the ability for the user to close the window....

0 Kudos
Message 7 of 7
(3,969 Views)