Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

VI Server Reference

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Application Control VIs and Functions

Requires: Base Development System

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.

Use a Property Node or Invoke Node to access the properties and methods for the control or indicator using a VI Server reference.

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 Control References VI in the labview\examples\Application Control\VI Server\Control References directory for an example of using the VI Server Reference.


 Was this document helpful?  submit
  Helpful Not Helpful