Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetVarExtensions - method of object PmaTrendGroup

Description:
Returns an array of all data extensions (ExtTrend objects) registered into the PmaTrendGroup object (all trends of this trend group).
Syntax:
Array GetVarExtensions()
Calling:
aDataExt = oTrend.GetVarExtensions()
Example:
Obtains an array of references to all registered ExtTrend objects of the PmaTrendGroup object "/Trend" with following listig of identifiers of each trend into the INFO system.
JavaScriptVBScriptSelect and copy to clipboard

var i;
var a = pMe.Pm("/Trend").GetVarExtensions();
var n = a.GetSize(1);
for (i = 0; i < n; i++)
Pm.Debug(a.GetItem(i).TrendId);

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