The Alarm.ini file
The ALARM.INI file (registered in the project directory) contains the configuration information of the alarm manager; it also acts as a support register for the exchange of data between some system modules. The configuration of some advanced parameters may require a manual modification of the file contents.
The sections of the file alarm.ini are:
|
[Group<n>] |
Group configuration number |
|
[Log] |
Configure event logging |
|
[Backup] |
Configure the management of historical archives. |
|
[SystemMsg] |
Configure the system message handling. |
|
[OperatorMsg] |
Configure operator message handling. |
|
[RemoteAlarmMsg] |
Configuration of message management from alarm remoting subsystem. |
|
[Beeper] |
Ringer configuration and internal data exchange parameters |
|
[Reset] |
Configuring reset settings |
|
[Notifier] |
Configuring notification options |
|
[AlmQueue] |
Configuring alarm queue size. Section subject to manual edit. |
|
[MsgQueue] |
Configuring the message queue size Section subject to manual edit. |
|
[RaQueue] |
Configuring the remote alarm queue size. |
|
[Printer] |
Printer configuration parameters. |
[Group<n>] sections
These sections contain the configuration parameters of each of the signaling groups available.
Each of the sections [GroupN] may contain the following items:
ID=number
Internal identifier of the signaling group. Do not alter.
Name=text
Specifies the descriptive name associated with the signaling group
[Log] section
The [Log] section contains the configuration parameters of the event recording mode.
The section contains the following items:
Disk=Y | N
Enables or disables logging to disk. If the set value is Y logging is enabled; if the value is N recording is disabled. The default value is Y.
Printer=Y | N
Enables or disables printing of the events in real time. If the set value is Y, printing is enabled; if the value is N, printing is disabled. The default value is N.
LPTnum=LPT1 | LPT2 | LPT3
Identifier of the printer port used for printing real-time events.
The default value is LPT1.
[BackUp] section
The section [BackUp] contains the configuration settings related to the management of historical archives, and in particular:
- Duration of the archive.
- Number of backups to keep.
- Path of the archive.
The entries in this section are:
Numfiles= Number
Number of historical backups archives to keep on disk.
Period=D
Duration of the historical archive. The parameter has constant value D; represents internal information and should not be changed.
Path=. \ HISTORY
Specifies the logging directory of the historical archive. The parameter has constant value .\HISTORY; represents internal information and should not be changed.
[SystemMsg] section
The section [SystemMsg] contains information for the management of system messages:
Group=Id
Specifies the signaling group which are intended system messages. The default value is -1 (All).
Priority =1 .. 256
Specifies the priority of system messages. The range of valid values is from 1 to 256. The default value is 1 (Highest priority).
[OperatorMsg] section
The section [OperatorMsg] contains information for message handling operator:
Group=Id
Specifies the signaling group which are intended operator messages. The default value is -1 (All).
Priority =1 .. 256
Specifies the priority of the operator messages. The range of valid values is from 1 to 256. The default value is 1(Highest priority).
[RemoteAlarmMsg] section
The section [RemoteAlarmMsg] contains information for the management of log messages from the subsystem for remote control alarms:
Group=Id
Specifies the signaling group which are intended messages from the remoting sosttosistema alarms. The default value is -1 (All).
Priority =1 .. 256
Specifies the priority of the messages from remoting subsystem alarms. The range of valid values is from 1 to 256. The default value is 1(Highest priority).
[Beeper] section
The section [Beeper] contains information for managing the beeper:
SoundEnabled =Y | N
Specifies whether the operator of the summary alarms should activate an audible warning to the occurrence of an alarm. If the set value is Y the beeper is turned on, if the value is N the beeper is disabled. The default value is Y.
Beeper =0 | 1
Determines whether the alarm is to be used for the beep sound system standard (value 0) Or run the sound file in the configured voice Sound (Value 1). The default value is 0.
Sound =filename
Specifies the sound file (. WAV) to be taken in the event of an alarm is generated. The sound file is executed only if the item Beeper is set
[Notifier] section
This section contains the configuration settings for notification of alarms. The section contains a single entry:
Mode = 0 | 1 | 2
Specifies the mode of visual notification for new alarms:
0= BalloonTip; 1 Announcer = standard; 2 = No ad.
The default value is 2.
TrayIcon = 0 | 1
Enables or disables the management Vision X icon in the System Tray for the server station: 0 Disabled = icon; 1 = Icon enabled. Default 0.
[Reset] section
This section contains the settings to reset the alarms.
The section contains a single entry:
Automatic= 1 | 0
This entry specifies whether the alarm should automatically be deleted from the lists Summary alarms when the alarm condition is returned and the alarm has been acknowledged. Otherwise, the alarm messages are displayed even after the termination of the alarm condition and recognition, to the application of a reset command manual.
If the set value is 1, The option to auto-reset is active; if the value is 0 reset must be performed manually. The default value is 1.
[AlmQueue] section
The section [AlmQueue] contains information for the design of the alarm queue. In case of necessity this section must be configured manually. The section contains the items shown below.
Size=Number
Specifies the size (number of elements) of the alarm queue. The range of valid values is from 100 to , 9999. Default value is 100
[MsgQueue] section
The section [MsgQueue] contains information for the design of the operator's message queue and system. In case of necessity this section must be configured manually. The section contains the items shown below.
Size=Number
Specifies the size (number of elements) of the operator message queue. The range of valid values is from 100 to , 9999.
The default value is 100.
[RaQueue] section
The section [RaQueue] contains information for the design of the tail remoted alarms. The section contains the items shown below.
Size=Number
Specifies the size (number of elements) of the main alarm queue. The range of valid values is from 100 to 99999. The default value is 1000
DriverQueueSize=Number
Specifies the size (number of elements) of the code of the drivers. The range of valid values is from 0 to 999999. Default value is 10000.
[Printer] section
The section [Printer] contains the configuration information for specific printers LPT 1 .. 3. In case of necessity this section must be configured manually. The section contains the items shown below.
TimeOutA=number
Specifies the timeout (in milliseconds) after which it is declared bankrupt writing on the printer connected to LPT1. This entry prevents system lockup if the printer is not connected or does not respond. The default value is 100.
TimeOutB=number
Specifies the timeout (in milliseconds) after which it is declared bankrupt writing on the printer connected to LPT2. This entry prevents system lockup if the printer is not connected or does not respond. The default value is 100.
TimeOutC=number
Specifies the timeout (in milliseconds) after which it is declared bankrupt writing on the printer connected to LPT3. This entry prevents system lockup if the printer is not connected or does not respond. The default value is 100.
ControlCharA=number
Code of the control character (expressed as a decimal value) for normal printing or compressed font on the printer connected to LPT1. The default value is 15.
ControlCharB=number
Code of the control character (expressed as a decimal value) for normal printing or compressed font on the printer connected to LPT2. The default value is 15.
ControlCharC=number
Code of the control character (expressed as a decimal value) for normal printing or compressed font on the printer connected to LPT3. The default value is 15.