Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarExtensions - method of object PmaOpcClientGroup

Description:
Returns an array of all data extensions (ExtOpcClient objects) registered in the PmaOpcClientGroup object (all items of this group).
Syntax:
Array GetVarExtensions()
Calling:
aDataExt = oOpcClientData.GetVarExtensions()
Example:
Obtains an array of references to all registered ExtOpcClient objects of the PmaOpcClientGroup object "/OpcClientData" with following listig of identifiers of each trend into the INFO system.
JavaScriptVBScriptSelect and copy to clipboard

var i;
var aVarExt = pMe.Pm("/OpcClientData").GetVarExtensions();
var n = aVarExt.GetSize(1);

for (i = 0; i < n; i++)
Pm.Debug(aVarExt.GetItem(i).ItemId);

History:
Pm8.03.22: Can obtain all data extensions that are registered into this object. This way it is possible to obtain all variables that are recorded as trends in corresponding PmaTrendGroup object.
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice