Promotic

GetVarExtensions - method of the PmaTrendGroup object

Description:
Returns an array of all data extensions (of ExtTrend objects) registered into the PmaTrendGroup object (all trends of this trend group).
Syntax:
Array GetVarExtensions()
Return value:
PmArray object for JavaScript or Array data type for VBScript.
Example:
Obtains an array of references to all registered ExtTrend objects of the /Trend object (PmaTrendGroup) with following listig of identifiers of each trend into the INFO system.
JavaScriptVBScriptSelect and copy to clipboard

var aExt = pMe.Pm("/Trend").GetVarExtensions();
var nExt = aExt.GetSize(1);
var iExt;
for (iExt = 0; iExt < nExt; iExt++)
{
Pm.Debug(aExt.GetItem(iExt).TrendId);
}

History:
Pm8.03.22: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.