From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
You can invoke a SetControlValue method of the Virtual Instrument class in order to set the values of the vi's controls/indicator. If you intend to mine data from the control/indicator then the GetControlValue method needs to be invoked. Below is the official prototype and explanations of each of these functions.
Name Type Description controlName string Name of the front panel control. value variant New value of the front panel control. This value can be numeric, Boolean, string, or array. A cluster in LabVIEW is represented as an array of variants in ActiveX. Return Value
None
object.GetControlValue(controlName) Purpose
Re turns the value of a front panel control.
Applies To
Virtual Instrument object
Parameters
Name Type Description controlName String Name of the front panel control. Return Value