Unit - property of object ExtTrend
Physical unit of the variable..
Property access for read and write
. The preset value of this property is defined in the "Unit
" configurator of this object.
Note for the PmTrend
The value entered here is used as initialization value for trend viewer (for TrendsView object). The value is entered in the following property: tvTrend.Unit.
Examples of obtaining this property in script.
VBScriptSelect and copy to clipboard
value = pMe.Pm("/data/#vars/Temperature/#ext/trend").Unit
value = pMe.Pm("/data/#vars/Temperature").Extension("trend").Unit
value = pMe.Pm("/data").Item("Temperature").Extension("trend").Unit
The example of obtaining this property by Macro expression
from another data extension via pDE