Config.ini [SYSTEM] Section Variables for Trending and the Historical Data Viewer Page

The following list of variables belonging to the Config.ini configuration file's [SYSTEM] section pertain to trending and the Historical Data Viewer page.

AITrendEnable

Indicates whether the drawing methods for analog input tags (or analog status tags in VTScada) can be clicked to open a windowed version of the Trends page that plots the selected tag's data when the application is in operation mode.

If AITrendEnable is set to 0 (false), then a windowed version of the Trends page will not open when an analog input tag's (or analog status tag's) drawing method is clicked while the application is in operation mode.

If AITrendEnable is set to 1 (true), then a windowed version of the Trends page will open when an analog input tag's (or analog status tag's) drawing method is clicked while the application is in operation mode (default).

Related Variables: To configure your application to open a windowed version of the Trends page that automatically plots digital input tag data when the drawing method for an digital input is clicked, please refer to the DITrendEnable variable (see D Config.ini [SYSTEM] Variables, or Config.ini [SYSTEM] Section Variables for Trending and the Historical Data Viewer Page.

Default: AITrendEnable = 1

DITrendEnable 

Indicates whether the drawing methods of digital input tags can be clicked to open a windowed version of the Trends page that plots the selected tag's data when the application is in operation mode.

If set to 0 (false), then a windowed version of the Trends page will not open when a digital input tag's drawing method is clicked while the application is in operation mode.

If set to 1 (true), then a windowed version of the Trends page will open when a digital input tag's drawing method is clicked while the application is in operation mode.

Related Variables: To configure your application to open a windowed version of the Trends page that automatically plots analog input tag data when the drawing method for an analog input is clicked, please refer to the AITrendEnable variable.

Default: DITrendEnable = 0

HDVAnalogAlarmsVisibility

Enables you to indicate whether or not you wish the alarm setpoint value for any alarms related to analog tags to be indicated on the graph on the Historical Data Viewer page using horizontal line markers. If set to 1, the setpoint value for any alarms related to analog tags that are being plotted on the graph will be visible. If set to 0 (default), the setpoint value for any alarms related to analog tags that are being plotted on the graph will be invisible.

Default: HDVAnalogAlarmsVisibility = 1

HDVAnalogLegendAverage

Enables you to indicate whether or not you wish the average value of analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the average value of analog tags will be indicated in the pen legend. If set to 0 (default), then the average value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendAverage = 0

HDVAnalogLegendDescription

Enables you to indicate whether or not you wish the description configured for analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1 (default), then the description of analog tags will be indicated in the pen legend. If set to 0, then the description of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendDescription = 1

HDVAnalogLegendHighScaleValue

Enables you to indicate whether or not you wish the high scale value of the analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the high scale value of analog tags will be indicated in the pen legend. If set to 0 (default), then the high scale value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendHighScaleValue = 0

HDVAnalogLegendLowScaleValue

Enables you to indicate whether or not you wish the low scale value of the analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the low scale value of analog tags will be indicated in the pen legend. If set to 0 (default), then the low scale value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendLowScaleValue = 0

HDVAnalogLegendMax

Enables you to indicate whether or not you wish the maximum value of analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the maximum value of analog tags will be indicated in the pen legend. If set to 0 (default), then the maximum value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendMax = 0

HDVAnalogLegendMin

Enables you to indicate whether or not you wish the minimum value of analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the minimum value of analog tags will be indicated in the pen legend. If set to 0 (default), then the minimum value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendMin = 0

HDVAnalogLegendValue

Enables you to indicate whether or not you wish the value of analog tags whose value is being plotted on the graph to be displayed in the pen legend on the Historical Data Viewer page as the mouse pointer is moved across the plot on the graph. If set to 1 (default), then the value of analog tags will be indicated in the pen legend. If set to 0, then the value of analog tags will not be indicated in the pen legend.

Default: HDVAnalogLegendValue = 1

HDVAnalogPenAverageVisibility

Enables you to indicate whether or not you wish the average value of analog tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the legend. If set to 1 (default), then the average values for analog tags will be displayed in the legend. If set to 0, then the average values for analog tags will not be displayed in the legend.

Default: HDVAnalogPenAverageVisibility = 1

HDVAnalogPenMinMaxVisibility

Enables you to indicate whether or not you wish the minimum and maximum value of analog tags to be indicated on the graph on the Historical Data Viewer page. If set to 1, then the minimum and maximum values for analog tags will be displayed on the graph. If set to 0 (default), then the minimum and maximum values for analog tags will not be displayed on the graph.

Default: HDVAnalogPenMinMaxVisibility = 0

HDVAnalogPenScale

Enables you to specify the pen scale to be used for analog plots on the Historical Data Viewer page. This can be one of:

      •        Linear

      •        Square Root

      •        Logarithmic

Default: HDVAnalogPenScale = Linear

HDVAnalogPenStyle

Enables you to indicate the style of the plot line for analog pens on the Historical Data Viewer page. HDVAnalogPenStyle can be set to one of the following values:

Value

Meaning

 0

– Invisible Plot

 1

– Solid

 2

– Dashed

 3

– Dotted

 4

– Dot-dashed

 5

– Dot-dot-dashed

 

Default: HDVAnalogPenStyle = 1

HDVAnalogPenVisibility

Enables you to indicate whether or not you wish the value of analog tags to be plotted on the graph on the Historical Data Viewer page. If set to 1 (default), then analog plots will be visible on the graph once added to the legend. If set to 0, then analog plots will not be visible on the graph once added to the legend.

Default: HDVAnalogPenVisibility = 1

HDVAnalogPenWidth

Sets the pen width to be used for analog plots in the historical data viewer.  If left blank, the default width will be 1.

Default:  HDVAnalogPenWidth = 1

HDVAnalogScalesVisibility

Enables you to indicate whether or not the value scales should be displayed to the left of the analog plot area on the Historical Data Viewer page. If set to 1, the value scales will be displayed to the left of the analog plot area (default). If set to 0, the value scales will not be displayed to the left of the analog plot area.

Default: HDVAnalogScalesVisibility = 1

HDVDataRetrievalMsg

Displays the set message while retrieving data

Default: HDVDataRetrievalMsg   =  Data retrieval in progress ...

 

HDVDataRetrievalMsgColor

Sets the text color of HDVDataRetrievalMsg

Default: HDVDataRetrievalMsgColor =  0

HDVDataRetrievalWaitTime

Defines the number of seconds to wait before displaying the message stored in HDVDataRetrievalMsg

Default: HDVDataRetrievalWaitTime = 2

HDVDateFormat1

Allows you to set the date format to be displayed beneath the plot areas on the Historical Data Viewer page when the duration is set to low increments. For valid date formats, please refer to the Date function.

Default: HDVDateFormat1 = 20

HDVDateFormat2

Allows you to set the date format to be displayed beneath the plot areas on the Historical Data Viewer page when the duration is set to high increments. For valid date formats, please refer to the Date function.

Default: HDVDateFormat2 = 12

HDVDigitalGridColor

Enables you to indicate the color to be displayed for the vertical grid lines on the digital plot area on the Historical Data Viewer page. The default color is pale grey.

Default: HDVDigitalGridColor =

HDVDigitalLegendAverage

Enables you to indicate whether or not you wish the average value of digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the average value of digital tags will be indicated in the pen legend. If set to 0 (default), then the average value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendAverage = 0

HDVDigitalLegendDescription

Enables you to indicate whether or not you wish the description configured for digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1 (default), then the description of digital tags will be indicated in the pen legend. If set to 0, then the description of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendDescription = 1

HDVDigitalLegendHighScaleValue

Enables you to indicate whether or not you wish the high scale value of digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the high scale value of digital tags will be indicated in the pen legend. If set to 0 (default), then the high scale value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendHighScaleValue = 0

HDVDigitalLegendLowScaleValue

Enables you to indicate whether or not you wish the low scale value of digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the low scale value of digital tags will be indicated in the pen legend. If set to 0 (default), then low scale value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendLowScaleValue = 0

HDVDigitalLegendMax

Enables you to indicate whether or not you wish the maximum value of digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the maximum value of digital tags will be indicated in the pen legend. If set to 0 (default), then the maximum value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendMax = 0

HDVDigitalLegendMin

Enables you to indicate whether or not you wish the minimum value of digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the minimum value of digital tags will be indicated in the pen legend. If set to 0 (default), then the minimum value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendMin = 0

HDVDigitalLegendNumberOfStarts

Enables you to indicate whether or not you wish the number of starts for digital tags whose value is being plotted on the graph on the Historical Data Viewer page to be displayed in the pen legend. If set to 1, then the number of starts for digital tags will be indicated in the pen legend. If set to 0 (default), then the number of starts for digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendNumberOfStarts = 0

HDVDigitalLegendOnTime

Enables you to indicate whether or not you wish the amount of time that a digital tag has been "on" (reading a value of 1) to be displayed in the pen legend when the tag's data is being plotted on the graph on the Historical Data Viewer page. If set to 1, then the on time for digital tags will be indicated in the pen legend. If set to 0 (default), then the on time for digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendOnTime = 0

HDVDigitalLegendValue

Enables you to indicate whether or not you wish the value of digital tags whose value is being plotted on the graph to be displayed in the pen legend on the Historical Data Viewer page as the mouse pointer is moved across the plot on the graph. If set to 1 (default), then the value of digital tags will be indicated in the pen legend. If set to 0, then the value of digital tags will not be indicated in the pen legend.

Default: HDVDigitalLegendValue = 1

HDVDigitalPenStyle

Enables you to indicate the line style for digital pens on the Historical Data Viewer page. HDVDigitalPenStyle can be set to one of the following values:

Value

Meaning 

0

– Invisible Plot

 1

– Solid

 2

– Dashed

 3

– Dotted

 4

– Dot-dashed

 5

– Dot-dot-dashed

 

Default: HDVDigitalPenStyle = 1

HDVDigitalPenVisibility

Enables you to indicate whether or not you wish the value of digital tags to be plotted on the graph on the Historical Data Viewer page. If set to 1 (default), then digital plots will be visible on the graph once added to the legend. If set to 0, then digital plots will not be visible on the graph once added to the legend.

Default: HDVDigitalPenVisibility = 1

HDVDigitalPenWidth

Sets the pen width to be used for digital plots in the historical data viewer.  If left blank, the default width will be 1.

Default:  HDVDigitalPenWidth = 1

HDVDigitalScalesVisibility

Enables you to indicate whether or not the value scales should be displayed to the left of the digital plot area on the Historical Data Viewer page. If set to 1, the value scales will be displayed to the left of the digital plot area (default). If set to 0, the value scales will not be displayed to the left of the digital plot area.

Default: HDVDigitalScalesVisibility = 1

HDVDisplayTimeSelectionScrollBar

Allows you to indicate whether or not the Date/Time scrollbar on the Historical Data Viewer page should be visible. If set to 1, the Date/Time scrollbar will be visible. If set to 0, the time selection scrollbar will be invisible.

Default: HDVDisplayTimeSelectionScrollbar = 1

HDVDisplayToolbar

Allows you to indicate whether or not the toolbar on the Historical Data Viewer page should be visible. If set to 1, the toolbar will be visible. If set to 0, the toolbar will be invisible.

Default: HDVDisplayToolbar = 1

HDVGridCellColor

If set, this value provides a default color for the grid cells in the Historical Data Viewer

Default: HDVGridViewColor  = 

HDVGridLineColor

If set, this value provides a default color for the grid lines in the Historical Data Viewer

Default: HDVGridViewColor  = 

HDVGridViewColor

If set, this value provides a default color for the grid view in the Historical Data Viewer

Default: HDVGridViewColor  = 

HDVHorizontalGridColor

Enables you to indicate the color to be displayed for the horizontal grid lines on the analog plot area on the Historical Data Viewer page. The default color is pale grey.

Default: HDVHorizontalGridColor =

HDVLayoutBGColor

Enables you to indicate the background color to be used in the area surrounding the Date/Time scroll bar at the bottom of the Historical Data Viewer page.

Default: HDVLayoutBGColor =

HDVNotesLegendDescription

Enables you to indicate whether or not you wish the description configured for notebook tags to be displayed in the pen legend on the Historical Data Viewer page. If set to 1 (default), then the description of notebook tags will be indicated in the pen legend. If set to 0, then the description of notebook tags will not be indicated in the pen legend.

Default: HDVNotesLegendDescription = 1

HDVLegendVisible

Allows you to indicate whether or not the legend pane on the Historical Data Viewer page should be visible. If set to 1, the legend will be visible. If set to 0, the legend will be invisible.

Default: HDVLegendVisible = 1

HDVNotesLineVisibility

Allows you to indicate whether or not vertical lines should be drawn on the graph on the Historical Data Viewer page to indicate the presence of a note. If set to 1, a vertical line will be displayed on the graph to indicate the presence of a note. If set to 0, vertical lines will not be displayed on the graph to indicate the presence of notes.

Default: HDVNotesLineVisibility = 1

HDVNotesPenVisibility

Allows you to indicate whether or not arrows should be drawn on the graph on the Historical Data Viewer page to indicate the presence of a note. If set to 1, an arrow will be displayed on the graph to indicate the presence of a note. If set to 0, arrows will not be displayed on the graph to indicate the presence of notes.

Default: HDVNotesPenVisibility = 1

HDVNotesPenStyle

Enables you to indicate the style for note pens on the Historical Data Viewer page. HDVNotesPenStyle can be set to one of the following values:

Value

Meaning 

0

– Invisible Plot

 1

– Solid

 2

– Dashed

 3

– Dotted

 4

– Dot-dashed

 5

– Dot-dot-dashed

 

Default: HDVNotesPenStyle = 1

HDVNotesPenWidth

Sets the pen width to be used for notes in the historical data viewer.  If left blank, the default width will be 1.

Default:  HDVNotesPenWidth = 1

 

HDVPlotBGColor

Enables you to change the background color of the plot area of the graph on the Historical Data Viewer page. The default color is pale yellow (31).

Default: HDVPlotBGColor =

HDVPlotViewColor

Enables you to indicate the background color to be displayed around the legend (if the legend is present (see HDVLegendVisible above), and the analog and digital plot areas on the Historical Data Viewer page. The default color is the system grey.

Default: HDVPlotViewColor =

HDVShowAllScales

Allows you to indicate whether or not the value scales should be displayed to the left of the plot areas on the Historical Data Viewer page.

Default: HDVShowAllScales = 1

HDVShowTimeScales

Allows you to indicate whether or not the time scales should be displayed beneath the analog and digital plot areas on the Historical Data Viewer page.

Default: HDVShowTimeScales = 1

HDVTimeCursorColor

Allows you to set the color of the horizontal time line attached to the mouse pointer when it is resting on the plot areas on the Historical Data Viewer page. The default color is a dark grey.

Default: HDVTimeCursorColor = 28

HDVTimeFormat1

Allows you to set the time format to be displayed beneath the plot areas on the Historical Data Viewer page when the duration is set to low increments. For valid time format values, please refer to the Time function.

Default: HDVTimeFormat1 = 5

HDVTimeFormat2

Allows you to set the time format to be displayed beneath the plot areas on the Historical Data Viewer page when the duration is set to high increments. For valid time format values, please refer to the Time function.

Default: HDVTimeFormat2 = 2

HDVVerticalGridColor

Enables you to indicate the color to be displayed for the vertical grid lines on the analog plot area on the Historical Data Viewer page. The default color is pale grey.

Default: HDVVerticalGridColor =

LastDays

Indicates the number to initially be displayed in the Last X Days field of the Add Pen or Edit Pen dialogs when configuring a pen to display file data (historical data) on the Trends page.

Related Variables: The LastHours and LastWeeks variables enable you to configure the number of hours and weeks initially displayed in the Last X Hours and Last X Weeks fields of the Add Pen or Edit Pen dialogs.

Default: LastDays = 7

LastHours

Indicates the number to initially be displayed in the Last X Hours field of the Add Pen or Edit Pen dialogs when configuring a pen to display file data (historical data).

Related Variables: The LastDays and LastWeeks and variables enable you to configure the number of days and weeks initially displayed in the Last X Days and Last X Weeks fields of the Add Pen or Edit Pen dialogs.

Default: Last Hours = 24

LastWeeks

Indicates the number to initially be displayed in the Last X Weeks field of the Add Pen or Edit Pen dialogs when configuring a pen to display file data (historical data).

Related Variables: The LastDays and LastHours variables enable you to configure the number of days and hours initially displayed in the Last X Days and Last X Hours fields of the Add Pen or Edit Pen dialogs.

Default: LastWeeks = 4

TrendAreaColor

Indicates the color of the background for the Trends page. By default, the background color of the Trends page is set to dark cyan (3).

Related Variables: The TrendAreaColor variable should be used together with the TrendHGridColor and TrendVGridColor, and the TrendColor0 through TrendColor11 variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendAreaColor = 3

TrendColor0

Indicates the color of the first pen (pen 0) when displayed on the Trends page. By default, the TrendColor0 variable is set to yellow (14).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor0 = 14

TrendColor1

Indicates the color of the second pen (pen 1) when displayed on the Trends page. By default, the TrendColor1 variable is set to light cyan (11).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default = 11 { light cyan }

TrendColor2

Indicates the color of the third pen (pen 2) when displayed on the Trends page. By default, the TrendColor2 variable is set to white (15).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor2 = 15

TrendColor3

Indicates the color of the fourth pen (pen 3) when displayed on the Trends page. By default, the TrendColor3 variable is set to light green (10).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor3 = 10

TrendColor4

Indicates the color of the fifth pen (pen 4) when displayed on the Trends page. By default, the TrendColor4 variable is set to light red (12).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor4 = 12

TrendColor5

Indicates the color of the sixth pen (pen 5) when displayed on the Trends page. By default, the TrendColor5 variable is set to light magenta (13).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor5 = 13

TrendColor6

Indicates the color of the seventh pen (pen 6) when displayed on the Trends page. By default, the TrendColor6 variable is set to light blue (9).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor6 = 9

TrendColor7

Indicates the color of the eighth pen (pen 7) when displayed on the Trends page. By default, the TrendColor7 variable is set to dark red (4).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor7 = 4

TrendColor8

Indicates the color of the ninth pen (pen 8) when displayed on the Trends page. By default, the TrendColor8 variable is set to brown (6).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor8 = 6

TrendColor9

Indicates the color of the tenth pen (pen 9) when displayed on the Trends page. By default, the TrendColor9 variable is set to dark green (2).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor9 = 2

TrendColor10

Indicates the color of the eleventh pen (pen 10) when displayed on the Trends page. By default, the TrendColor10 variable is set to dark blue (1).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default: TrendColor10 = 1

TrendColor11 

Indicates the color of the twelfth pen (pen 11) when displayed on the Trends page. By default, the TrendColor11 variable is set to black (0).

Related Variables: The TrendColor0 through TrendColor11 variables should be used together with the TrendAreaColor, TrendHGridColor, and TrendVGridColor variables in order to make the horizontal and vertical grids and the possible pen selection colors stand out from the background color set for the Trends page.

Default = 0 { black }

TrendDuration 

Indicates the initial time span in minutes (trend duration) set for pens being plotted on the Historical Data Viewer page.

Note: Although the Duration (Minutes) drop-down list of the Add Pen and Edit Pen dialogs and the Time Duration dialog (that is opened when the Set X Axis Time tool in the trending toolbar is clicked) can be used to temporarily set the trend duration, the setting of the TrendDuration variable always determines the trend duration to be set for pens each time the application is run. Non-rounded values set for TrendDuration (such as "47") will cause the Time Duration dialog's selected radio button to be the one closest to the non-rounded value (in this example, the 60-minute radio button would be selected).

Default: TrendDuration = 1440

TrendGroupExt

Indicates the extension to be set for saving and loading trend groups, and therefore determines the type of file to save and retrieve. By default, the trend group extension is set to .grp.

Default: TrendGroupExt = *.grp

TrendHGridColor

Indicates the color of the horizontal grid lines for the Trends page. By default, the horizontal grid is set to 0 (black), so as to stand out against the default background color of the Trends page.

Related Variables: When setting TrendHGridColor, keep into consideration the setting of TrendAreaColor to ensure that the horizontal grid lines stand out from the background color set for the Trends page. To set the color of the vertical grid lines, refer to TrendVGridColor.

Default: TrendHGridColor = 0

TrendInterval

Enables you to set the time between points on the screen.

Default: TrendInterval =

TrendLeft

Indicates whether pens should plot data left to right, or right to left.

If set to 0 (false), then pens trend from the right to the left of the Trends page (default).

If set to 1 (true), then pens trend from the left to the right of the Trends page.

Default: TrendLeft = 0

TrendLegendDecimal

Indicates the number of decimal places to display for tag values in the pen legend when pens have been configured to plot tag values, and the Descriptions drop-down list on the Trends page has been set to display Value/Time.

Note: If a value is not specified for the TrendLegendDecimal variable, the default value is based on the largest scale value; as the largest scale value approaches 1000, the number of decimal places reduces according to the equation: 3 – int(log(max(scalehi, scalelo))).

For example, if the low scale is 0, and the high scale is less than 10, then the number of decimal places is 3. When the high scale is less than 100, then the number of decimal places is 2. When the high scale is less than 1000, then the number of decimal places is 1. When the high scale is greater than 1000, then the number of decimal places is 0.

Default: TrendLegendDecimal = Invalid

TrendLegendDesc

Indicates whether tag descriptions rather than tag names should be displayed in the pen legend for tags being plotted by pens.

If set to 0 (false), then tag names are displayed consistently in the first cell for each pen in the pen legend (default).

If set to 1 (true), then tag descriptions are displayed consistently in the first cell for each pen in the pen legend.

Note: Depending on the setting of the TrendLegendDesc variable, the first cell for each pen in the pen legend will display either the name or description of the tag whose data is being plotted by the pen, regardless of the setting of the Descriptions drop-down list. For example, if you've set the TrendLegendDesc variable to 1 (true), then whether the Descriptions drop-down list is set to Value/Time, Maximum, or another setting, the description for the tag is always displayed in the first cell for the pen in the pen legend

Default: TrendLegendDesc = 0

TrendLegendVal 

Indicates the appearance of the display when the Value/Time option has been selected in the Descriptions drop-down list on the Trends page.

If TrendLegendVal = 0, then the value of the tag is displayed in the second cell for the pen in the pen legend, and a mouse click displays the time and date (default).

If TrendLegendVal = 1, then the time and date are displayed in the second cell for the pen in the pen legend, and a mouse click displays the value of the tag.

Default: TrendLegendVal = 0

TrendLogarithmicScale

Indicates whether or not trend plots should be drawn using a logarithmic scale.

If set to 0 (default), then trend plots are not converted to a logarithmic scale.

If set to 1, trend plots for both live and historical data are converted to Log base 10. (All trends are shown on a log scale with the mid-scale value reading being derived from the equation Pow(10, (Log(ScaleHi) + Log(Scalelo)) /2)).

Default: TrendLogarithmicScale = 0

TrendMinTime

Indicates the minimum allowable time interval in seconds for a pen (valid range of 0.12 to 86400). The interval is limited by the fact that for any given duration, no more than 1024 tags may be plotted.

Default: TrendMinTime = 1

TrendOnTop

Indicates whether or not an open, windowed version of the Trends page always remains on top or your system pages.

If TrendOnTop is set to 0 (false), then an open, windowed version of the Trends page does not always appear on top of system pages.

If TrendOnTop is set to 1 (true), then an open, windowed version of the Trends page always appears on top of system pages (default).

Default: TrendOnTop = 1

TrendPensPersistent

Indicates whether or not pens added to the Trends page are persistent after the Trends page is closed and then re-opened.

If set to 0 (false), then pens are not persistent once the Trends page is closed and then re-opened. Once the Trends page is closed, the pens are deleted from the display (default).

If set to 1 (true), then pens are persistent once the Trends page is close and then re-opened. Once the Trends page is closed, the pens are not deleted, and will be displayed on the Trends page on the next occasion the Trends page is viewed.

Default: TrendPensPersistent = 0

TrendTimeDecimal

Indicates the number of decimal places (representing hundreds of a second) to be displayed in the tooltip that is shown when the Descriptions drop-down list on the Trends page is set to Value/Time.

Default: TrendTimeDecimal = 0

TrendTimeFormat

Indicates the time format that will be used in the time stamp area at the bottom of the Trends page. The default time format is "hh:mm:ss" (2). (Please see the Time function for valid time indexes).

Default: TrendTimeFormat = 2

TrendVGridColor

Indicates the color of the vertical grid lines for the Trends page. By default, the vertical grid is set to 0 (black), so as to stand out against the default background color of the Trends page.

Related Variables: When setting TrendVGridColor, keep into consideration the setting of TrendAreaColor to ensure that the vertical grid lines stand out from the background color set for the Trends page. To set the color of the horizontal grid lines, refer to TrendHGridColor.

Default: TrendVGridColor = 0