LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Abort Button Override

I came across this "You should also capture filtering events such as "panel close?" and "application exit?", discard them and activate your own shutdown code instead (change pin to low, etc. etc. then end the program). " and need to know how to implement it.  I need to be able to prepare the program to terminate before it aborts if either the abort button is pressed or the window is closed while the program is running.  Any ideas on how to implement a capture of said filtering events?


Cheers!
0 Kudos
Message 1 of 3
(2,851 Views)
Here is a link to my reference above:

http://forums.ni.com/ni/board/message?board.id=170&message.id=85034&query.id=10646#M85034
0 Kudos
Message 2 of 3
(2,845 Views)
As mentioned in the link, disable the abort button or the entire toolbar (VI Properties>Window Appearance>Customize). Traping the other events is shown in the shipping example called Event Conditional Stop.
Message 3 of 3
(2,837 Views)