Discussion:
application instance close
(too old to reply)
labmaster
2008-08-06 08:40:04 UTC
Permalink
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.)  
Pnt
2008-08-06 09:40:07 UTC
Permalink
Are you talking about an exe ?
 
Try the "this vi" , "panel close".
Rajan_77
2008-08-06 09:40:08 UTC
Permalink
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
Pnt
2008-08-06 09:40:08 UTC
Permalink
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?
labmaster
2008-08-07 01:10:07 UTC
Permalink
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?
Pnt
2008-08-08 06:40:16 UTC
Permalink
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 !)
Continue reading on narkive:
Loading...