Promotic

TrendId - property of the ExtTrend object

Description:
Trend identifier and variable (column) name in the trend database table.
Syntax:
String TrendId
Note:
Property access for read only. The value of this property is defined in the "Trend identifier" configurator of this object.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard

sId = pMe.Pm("/data/#vars/Temperature/#ext/trend").TrendId;

// or
sId = pMe.Pm("/data/#vars/Temperature").Extension("trend").TrendId;

// or
sId = pMe.Pm("/data").Item("Temperature").Extension("trend").TrendId;
Example2:
The example for obtaining this property by Macro expression from another data extension via pVar variable.

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.