Max - property of the ExtTrend object
Maximum value of the variable.
Property access for read and write
. The preset value of this property is defined in the "Maximum
" configurator of this object.
The value entered here is used as initialization value for trend viewer (for the PmgTrendViewer object). The value is entered in the following property: tvTrend.ValueMax
Examples of obtaining this property in the script.
value = pMe.Pm("/data/#vars/Temperature/#ext/trend").Max;
value = pMe.Pm("/data/#vars/Temperature").Extension("trend").Max;
value = pMe.Pm("/data").Item("Temperature").Extension("trend").Max;
The example of obtaining this property by Macro expression
from another data extension via pDE