To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI show how to control properties of a VI inside a Subpanel
Description
After inserting a VI inside a subpanel, there are ways to actually control what happens on that VI. One of this ways is to use a VI reference to the objects inside the VI in question. This example inserts a VI (that contains a waveformgraph) in the subpanel of a main VI. Then a VI reference is created within the main VI to control the Y scale of the waveformgraph of the VI inserted on its subpanel. In other words, a property of a VI inserted in a subpanel of another VI can be changed. In this case the property is the Y scale of a waveformgraph.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
Additional Notes
Make sure that subVi.vi is NOT open when you run subpanelobjref.vi. You will get an error if it is open.
**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.
how do you change an input string according to this code example?