OnlineVariable.Add



Add(szPvName As String) As Boolean

Parameters

szPvName As String
strName As String
Unique name of variable to be linked
ED
not used
RT
avaliable

Remarks

The method Add variables of the control system are linked to the online variable.
The parameter strName passes on the unique name of the variable of the control system.


The variables have to be added to the object before executing the method Define. After executing Define each initialization and each change of value of a linked variable executes a VBA event, in which the linked variable is available as a parameter.

See Also

OnlineVariable