LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
A._Dek...

RTE automatic shutdown when EXE completed

 

 

Thus, no need to add the "EXIT" VI, and no need to check if the VI is in Run-Time mode or developpement mode...

(for big application, it could be when no VI are running...)

 

For example, add an option in the application builder :

>> Close the run-time engine when the application is completed...

 Run-time shutdown

 

 

 

 

 

 

 

 

 

 

14 Comments
SteenSchmidt
Trusted Enthusiast

@tst: I assumed that the OP closed all visible FPs, in which case the only thing that'd keep the RTE open would be some still running code (i.e. a programming bug). In this case I wouldn't want the RTE to Abort my program. The OP is exclusively asking for the RTE to end when all VIs have stopped executing. The RTE does that today, if you observe the fact that a VI isn't gone when its FP remains open, it is either 'Idle' or 'Reserved for Execution'.

 

So, with that clarification my comment stands: I wouldn't want the current behavior to change, but I'm in favor of an easier way to close all visible FPs (running VIs or not). This would make it easier to finish an application and release the RTE. Thus I've kudo'ed your linked idea, but not this one.

 

Cheers,

Steen

CLA, CTA, CLED & LabVIEW Champion
PNR
Member
Member

I'm not sure if that is such a good idea. It could lead into situations where your dev-system works fine, but the runtime behaves strangely.

 

The Quit and Exit primitives are working like a charm and are easy to implement. It is in my optinion part of the development cycle to place these VIs.

There are also some situations where you actually want to keep the VI/Runtime open especially if you use the actor framework where the startup-VI can stop running after starting all the actors...

A._Dek...
Active Participant

Dear all,

 

In fact, I didn't know that it can be done just by closing the front panel... that's why I posted.

I don't like to use "Quit" VI : I can not be sure that everything has been properly closed...

And now, using Windows7, I have a message asking me if the program closed well or not.

 

I will use this method now.

So thanks to give me this information 🙂

 

Adeline.

PS : could be good to highlight this solution, for example in the context help of "Quit" VI...

Even if I'm not an expert, I use LabVIEW since many years and I didn't see this solution before...

Darren
Proven Zealot