LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView equivalent to Visual Studio FormClosing

Hello,

 

In Visual Studio there is the method FormClosing which lets you perform some actions when the CloseWindow icon is pressed and before the application closes

 

Is there an equivalent way to achieve the same in LabView ? I want to close an instrument connection and some other housekeeping actions if the operator presses the Close Windows icon.

 

Thanks

 

David DLC

0 Kudos
Message 1 of 2
(2,040 Views)

Use a "panel close?" filtering event. Discard if necessary, then close by other means once all shutdown code has completed.

0 Kudos
Message 2 of 2
(2,029 Views)