In LabVIEW, go to the FIND EXAMPLES menu. View the New Event
Handler.VI or the Old Event Handler.VI and either of these
will do if this is indeed what you are looking for... =0)
Are you trying to exit a subVI to get back to a Main VI? If so, use a
simple state machine. There is a template for this in LabVIEW. Put
the SubVI inside the state machine to be called.
For the subVI, under the VI Property "Window Appearances", customize
the window to Show Front Panel when called
Similiar to 'Exit Sub' command in Visual Basic.