Promotic

Max - property of the ExtTrend object

Description:
Maximum value of the variable.
Syntax:
Double Max
Note:
Property access for read and write. The default value of this property is defined in the "Maximum" configurator of this object.
 
The value entered here is used as initialization value for the trend viewer (for the PmgTrendViewer object). This value is entered in the following property: tvTrend.ValueMax
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard

nMax = pMe.Pm("/data/#vars/Temperature/#ext/trend").Max;

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

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

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

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