LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I trigger the "close front panel" or "application exiting" events programatically

I want to programatically terminate execution of a .vi from various locations in the program. To do this, I want to trigger an event so that the program can then decide whether to really Quit Labview, just quit that specific .vi, or not quit at all.

Does anyone know how to trigger an event so I can handle this case?
0 Kudos
Message 1 of 2
(2,707 Views)
LabVIEW 6.1 doesn't provide support for programmatically triggering events. In order to trigger the "application exiting" event, you need to try and close LabVIEW from the user interface. To handle programmatic attempts to close a VI or quit LabVIEW, you will need to use the traditional non event driven programming.
0 Kudos
Message 2 of 2
(2,706 Views)