ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application instance close

In the event of "application instance close", I wired the true value inside the while loop.
I expected to stop the application when I press the "Close" buttton of the winodw.
But, the application was hide (ran in background).
 
Why didn't the Labview stop the while loop in this way?
I think this is strange.
 
(I know the VI server method, but I tried to do with a simple solution.)  
0 Kudos
Message 1 of 6
(3,905 Views)
Are you talking about an exe ?
 
Try the "this vi" , "panel close".
0 Kudos
Message 2 of 6
(3,897 Views)

Hi labmaster

Can you be bit more elaborate on the problem.. Please attach the VI that u are talking bout (if possible), that will make the things more clear !!!

 

Regards,

Rajan

Thanks & Regards,
Rajan
0 Kudos
Message 3 of 6
(3,893 Views)


labmaster wrote:
In the event of "application instance close", I wired the true value inside the while loop.
I expected to stop the application when I press the "Close" buttton of the winodw.

I tried it on an exe and it works fine. Maybe you do not terminate your application properly.
Can you post an example code?
0 Kudos
Message 4 of 6
(3,892 Views)
I was suprised my former reply was absent here.
 
However, I want to know the difference between application instance close and panel closed events.
Would you please explain them shortly?
0 Kudos
Message 5 of 6
(3,861 Views)

I am not sure but here is what i think:

The Panel Close can be used to terminate the application.

The application instance close, is triggered after the application is closed. (i never use it !)

0 Kudos
Message 6 of 6
(3,836 Views)