LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE stays visible in task bar after closing

I created an EXE of my VI. First time I have done this with 8.20. When I run the EXE it runs fine but when I close it the windows task bar shows the EXE but when you click on it, it does nothing and takes quit a while to go away. This happens on the DEV machine and on two other machines both are running XP. I thought it may be because of VI being rather large so I created a simple VI with just a while loop an event structure and a stop button. I still have the same results. I do not remember this happening in other versions. Do i have to make sure to uncheck or check some settings for this to go away.

Any help or Ideas are welcomed.


Thanks,



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 1 of 20
(5,701 Views)
Hello Joe,

Something you could try is the Quit LabVIEW.vi under Programming > Application Control on the functions palette. The Quit LabVIEW.vi will stop all executing VIs and the current executable immediately.

Raajit
Raajit L
National Instruments
Message 2 of 20
(5,687 Views)

Message Edited by Raajit L on 02-22-2007 11:41 PM

Raajit L
National Instruments
Message 3 of 20
(5,690 Views)
Already tried that before posting. It does the same. Any other suggestions



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 20
(5,676 Views)
Joe,

is there still a process running which is named LabVIEW or like your application?

Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 5 of 20
(5,674 Views)

Yes the process stays running in the windows task manager for as long as it is visible in the task bar. It takes a long time  for it to go away ( 9-20 sec.) could this be because of the run-time engine. I rebuilt the exe in 8.0 and it works normally. And when I run EXE's that were built in lower versions of LV they all act normal. It is only the ones built with 8.20 that act this way. I have also noticed that LV itself takes a few seconds to close and not be visible in the task bar or manager.

 

Any more thoughts.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 6 of 20
(5,670 Views)
bump



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 7 of 20
(5,657 Views)
Hi Joe,

Can you please attach your simple executable to this post; the one with just a while loop an event structure and a stop button?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 8 of 20
(5,631 Views)
Here is the actual VI. Have a look. It is not just this VI it is all of them that I build.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 9 of 20
(5,609 Views)
I'm still having trouble with this. Does anybody else see this problem. I only see it with VI's built into an EXE with 8.20 and with 8.2.1.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 10 of 20
(5,505 Views)