Gets the index of the control or indicator you specify. If the control or indicator for which you want to get the index does not have a terminal on the block diagram, this property returns an error.

You can use this property to specify the controls for which you get or set values with the Get Control Values by Index or Set Control Values by Index functions.

(Real-Time Module) Use the Get Control Index by Name method instead of the Control Index property to get control indexes. You can use the Control Index property on LabVIEW Real-Time systems only while connected to the RT target from the LabVIEW project. As a result, this property can work in the development environment but does not work in RT built applications.

Remarks

The following table lists the characteristics of this property.

Short Name ControlIndex
Data type ci32.png
Permissions Read Only
Available in Run-Time Engine Yes
Available in Real-Time Operating System Yes
Settable when the VI is running No
Loads the front panel into memory No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access allowed Yes