Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarExtensions - method of object PmaCommGroup

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

var i;
var a = pMe.Pm("/CommData").GetVarExtensions();
var n = a.GetSize(1);
for (i = 0; i < n; i++)
Pm.Debug(a.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