LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Button Switch To Default When Program Undergoes Abort Execution

Excuse me,
I was wondering if it is possible to have all the buttons on a page go back to their default setting when someone presses the "Abort Execution" button (the one that looks like a stop sign on the front panel).
Thank you for your time and consideration,
ElSmitho
0 Kudos
Message 1 of 2
(2,212 Views)
I don't think you can do that. Most LV programmers remove the Abort button from deployed applications to prevent exactly that situation. Think of the Abort button as an escape hatch for the programmer. For the user place a Stop button on the front panel and execute your shutdown code before quitting. The shutdown code can reset controls to default, restore I/O ports and DAQ devices to known, safe states, close files and references, etc.

Lynn
Message 2 of 2
(2,209 Views)