Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarExtensions - method of object PmaOpcDaClientGroup

Description:
Returns an array of all data extensions (ExtOpcDa objects) registered in the PmaOpcDaClientGroup object (all items of this group).
Syntax:
Array GetVarExtensions()
Calling:
aDataExt = oOpcDaClientData.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("/OpcDaClientData").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.9 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