GetVarExtensions - method of the PmaOpcDaClientGroup object
Syntax:
Array GetVarExtensions()
Example:
Obtains an array of references to all registered
ExtOpcDa objects in the
PmaOpcDaClientGroup object (
"/OpcDaClientData") with following listig of identifiers of each trend into the
INFO system.
JavaScriptVBScriptSelect and copy to clipboard
var i;
var aVarExt = pMe.Pm("/OpcClient/Group1").GetVarExtensions();
var n = aVarExt.GetSize(1);
for (i = 0; i < n; i++)
Pm.Debug(aVarExt.GetItem(i).ItemId);
Dim i, aVarExt, n
aVarExt = pMe.Pm("/OpcClient/Group1").GetVarExtensions()
n = UBound(aVarExt) + 1
For i = 0 To n - 1
Pm.Debug aVarExt(i).ItemId
Next