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

Get Control Index by Name Method

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.

Parameters

Data typeNameRequiredDescription
Control NameYesSpecifies the name of the control or indicator for which LabVIEW retrieves an index.

Remarks

The following table lists the characteristics of this method.

Data type
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsNo

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit