Promotic
WikipediaLinkedInYoutubeTwitterFacebook

DisplayName - property of object ExtTrend

Description:
Name of displayed variable.
Syntax:
String DisplayName
Calling:
d = oTrend.Item(2).DisplayName
Note:
Property access for read and write. The preset value of this property is defined in the "name for displaying" configurator of this object.

If this property was not set by the configuration, then it returns a value of the Name property.

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.Name

Example1:
Examples of obtaining this property in script.
JavaScriptVBScriptSelect and copy to clipboard

value = pMe.Pm("/data/#vars/Temperature/#ext/trend").DisplayName;

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

//or
value = pMe.Pm("/data").Item("Temperature").Extension("trend").DisplayName;
Example2:
The example of obtaining this property by Macro expression from another data extension via pDE variable.

History:
Pm8.03.00: Created
PROMOTIC 9.0.5 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