Control Value:Set Method

LabView Local Project Settings

Control Value:Set Method

Short Name: Ctrl Val.Set

Installed With: Base Package

Class: VI Methods

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

NameRequiredDescription
Control NameNoName of the control or indicator whose value you want to change. LabVIEW searches the front panel tabbing order for the name of the object and changes the value of the first object whose name matches the name you wire to this input.
ValueNoValue to which you want to set the control or indicator.

Remarks

The following table lists the characteristics of this method.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read/Write)
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 disallowedNo
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsNo