Short Name: Ctrl Val.Set
Requires: Base Development System
Class: VI Methods
To Use: Create a method.
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. |
Data type | Name | Required | Description |
---|---|---|---|
Control Name | Yes | Label of the control or indicator whose value you want to change. LabVIEW searches the front panel tabbing order for the label of the object and changes the value of the first object whose label matches the string you wire to this input. | |
Value | Yes | Value to which you want to set the control or indicator. |
The following table lists the characteristics of this method.
Data type | No return value |
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 |