Owning Palette: Application Control VIs and Functions
Requires: Base Package
Returns a reference to the current VI or application, to a control or indicator in the VI, or to a pane. You can use this reference to access the properties and methods for the associated VI, application, control, indicator, or pane.
You also can right-click a front panel object or terminal and select Create»Reference from the shortcut menu to create a VI Server reference.
To link the reference constant to the current application, VI, or a pane of the current VI, click the VI Server reference on the block diagram and select This Application, This VI, or Pane. You also can right-click the VI Server reference and select Link to»This Application, Link to»This VI, or Link to»Pane from the shortcut menu. To link the reference to a control or indicator within the VI, click or right-click the reference in the same way and then select the control or indicator to which you want to link from the shortcut menu.
If the VI Server reference is associated with a control or indicator, you can right-click the VI Server reference and select Find Control or Find Indicator from the shortcut menu to find the associated control or indicator. You also can right-click and select Find»References to find the associated references. Although you can use VI Server references with Property Nodes to pass data, you can achieve better performance through other ways. Try wiring the data directly or using local or global variables instead before using VI Server references to pass data.
Refer to Comparing References to compare VI Server references.
|Note If you place a VI Server reference on a Facade VI and select This VI, the VI Server reference returns a reference of type Fašade VI.|
Refer to the Property Nodes VI in the labview\examples\general\cntrlref.llb for an example of using the VI Server Reference.