VI Reference Properties
- Updated2023-02-17
- 4 minute(s) read
VI Reference Properties
Reads properties of a VI reference.


VI reference in
Reference to a VI.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
| error in does not contain an error | error in contains an error |
|---|---|
| If no error occurred before the node runs, the node begins execution normally.
If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out. | If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out. |
Default: No error

VI reference out
Reference to a VI.

error out
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
| error in does not contain an error | error in contains an error |
|---|---|
| If no error occurred before the node runs, the node begins execution normally.
If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out. | If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out. |

Execution State
Enum representing the execution state of the VI.
| Name | Description |
|---|---|
| Bad |
VI has errors and cannot execute. |
| Idle |
VI is not running but it is in memory. |
| Run top level | VI is the top-level VI in an active hierarchy. |
| Running | VI is reserved for execution by one or more active top-level VIs. |

Panel
Reference to the panel of the VI, which you can use with the Panel Manipulation palette API or other LabVIEW APIs for working with VI panels.