Example Code

Open a VI with a Front Panel button press.

Code and Documents

Attachment

Functional Description

This example uses Invoke Nodes and an Event Structure to open and run another VI (in this case, "Lights_(X.X.vi") on a
button press in the orignial VI (in this case, "Open_VI_From_FrontPanel_(X.X)"). It then Also closes the Front Panel when the new VI is done running.

open_VI_From_FrontPanel.PNG

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors