VI class/Control Value.Set method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 41B
Scope Basic Development Environment
Data Name Ctrl Val.Set
Short Name* Ctrl Val.Set
Long Name* Control Value:Set
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Return Data Type No return value
Invoke Node Control Value:Set
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Available with control VIsYes
Available with global VIsYes
Available with polymorphic VIsNo
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Must wait until user interface is idleNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Sets the value of a named control or indicator of the variant. You can wire a value of any data type to this method. You do not have to use the To Variant function to convert the data to a variant data type.

Note This method requires the VI to have a front panel. If you are using the Application Builder, make sure you do not remove the front panel.

Parameters

Data type Name Required Description
String Control Name Yes Label of the control or indicator whose value you want to change.
LV Variant Value Yes Value to which you want to set the control or indicator.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links