SetControlValue Method

LabView ActiveX Properties and Methods

SetControlValue Method

Installed With: Base Package

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