SetControlValue Method

Requires: Base Development System

Class: VI Methods (ActiveX)

Sets the value of a named LabVIEW control or indicator.

Syntax

object.SetControlValue(controlName, value)

Parameters

NameTypeDescription
controlNameStringName of the front panel control.
valuevariantNew 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