The History.ini file
The History.ini file (located in the project folder) contains the configuration information of the History module (Alarm History). The file is automatically filled in by History, changing the display options and does not require any manual edit.
The History.ini file contains the following sections:
|
[Columns] |
Contains column visibility information related to both video representation and printing. |
|
[Print] |
Allows you to specify custom print settings. The data contained in this section must be modified manually, creating the section if necessary. |
|
[Options] |
Contains the storage of some options, such as the resizing flag of the last column or the default historical depth value. |
|
[ColWidth] |
Contains the memorization of the width of the columns of the data list, relative to the representation on the screen. |
|
[WndLayout] |
Contains the storage of the position and size of the main window. |
[Columns] section
This section contains the visibility information of the Alarm / Event History columns. This configuration is applied both for video display and for printing.
The section contains the following entries:
DateTime = index (0 .. 5) | -1
Enables or disables the display of the Date/Time column and specifies its position. If the value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
Milliseconds = index (0 .. 5) | -1
Enables or disables the display of the Milliseconds column and specifies the location. If the value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
Status = index (0 .. 5) | -1
Enables or disables the display of the Status column and specifies its location. If the value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
ItemName =index (0 .. 5) | -1
Enables or disables the display of the ItemName column and specifies its location. If the value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
Value = index (0 .. 5) | -1
Enables or disables the display of the Value column and specifies its location. If the assigned value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
Description= index (0 .. 5) | -1
Enables or disables the display of the Description column and specifies its location. If the value is -1, the column is not visible. An index greater than -1 implies the visibility of the column and identifies its position.
[Print] section
This section contains the advanced printing options. Changes to the settings in this section must be made manually, if necessary, creating the section itself and the necessary entries.
The section currently contains a single entry:
FontSize = Integer
Specifies the custom size of the print font. Default size 9 pt.
Changing the size of the print font can affect the integrity of the printed report (excessive size can result in horizontal trimming of printed lines).
[Options] section
This section contains general options.
The section contains the following items:
SpringLast = 0 | 1
Enables or disables the automatic expansion option of the last column being displayed. If the value is 0, the option is disabled, while it is enabled if the value set is 1. The default value is 1.
DaysBefore = Number
Specifies the default time range applied to the display filter, specifying the number of days passed, in addition to the current day, of which historical data should be displayed. The value must be edited manually if necessary, adding the corresponding item if necessary. The default value in the absence of a different setting is 2, corresponding to a total period of three days.
[ColWidth] section
This section stores the widths of the columns.
The section contains the following items:
DateTime = number
This entry stores the Date / Time column width
Milliseconds = index (0 .. 5) | -1
This entry stores the Milliseconds column width
Status = number
This entry stores the Status column width
ItemName =number
This entry stores the Name item column width
Value = number
This entry stores the Value column width
Description= number
This entry stores the Description column width
[WndLayout] section
This section contains information about the last positioning of the History window, and contains the following entries:
WindowState =0 | 2
Saves the window state. 0 = Normal; 2 = Maximized.
MainLeft =number
Stores the horizontal coordinate of the window upper-left corner
Maintop =number
Stores the vertical coordinate of the window upper-left corner
MainWidth =number
Stores the width of the window
MainHeight =number
Stores the height of the window