Short Name: GetControlIndexByName
Requires: Base Development System
Class: VI Methods
To Use: Create a method.
Gets the index for the control or indicator of the given name. If the control or indicator for which you want to get an index does not have a terminal on the block diagram, this method returns an error.
You can use this method 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.
Data type | Name | Required | Description |
---|---|---|---|
Control Name | Yes | Specifies the name of the control or indicator for which LabVIEW retrieves an index. |
The following table lists the characteristics of this method.
Data type | |
Available in Run-Time Engine | Yes (Read/Write) |
Available in Real-Time Operating System | Yes |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | No |