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.
object.SetControlValue(controlName, value)
Purpose
Sets the value of a front panel control.
Applies To
Virtual Instrument object
Parameters
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
variant