To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows two ways to programatically open and run the front panel of a sub-VI.
Description
By utilising VI Server , the first method locates the Sub-VI's and utilises Invoke Nodes to open and run the sub-VI. The second method uses the properties of the called Sub-VI. By right-clicking the sub-VI and selecting 'SubVI Node Setup', you can configure the sub-VI to open its front panel when called and then close afterward if originally closed.
Requirements
Steps to Implement or Execute Code
Open Example.lvpoj
Method 1
Method 2
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.