#
Ew_rsamalarm Configuration File

(last revised 11 April, 2012)

    #
    #         Ew_rsamalarm Configuration File
    #
     ModuleId       MOD_EWRSAMALARM     # module id for this program
     InstId         INST_AVO
     InputRing      TEST_RING           # transport ring to use for input
     OutputRing     HYPO_RING           # transport ring to use for output
     HeartbeatInterval   60             # EW internal heartbeat interval (sec)
     LogFile        1                   # If 0, don't write logfile; if 1, do
                                        # if 2, write to module log but not to
                                        # stderr/stdout
     MaxMsgSize     4096                # maximum size (bytes) for input/output msgs

     AlarmSubnet    Alpha               # Name of a subnet; can have more than one

    [StationDefaults]               # Default values for Station definitions
    # Each line specifies 5 values:
    #   The threshold value to consider a packet to trigger an EventAlarmEnabled
    #   The ratio of a value w/ the start of an event to continue the event
    #   The minimum time for a succession of values to start an event
    #   The maximum length of an event
    #   Whether (True) or not (False) this window is enabled
    TriggerParameters   50 2 10 180 True
    EventAlarmTracker   50 2 30 180 False       # Window R0
    TremorAlarmTracker  50 2 1200 5400 False    # Window R1

    [Alpha]                         # Definition of a subnet
    StationsNecessaryForTremorAlarm 3   # At least this many station must be in events concurrently
                                        # before a tremor alarm is raised
    TremorAlarmEnabled False            # Recognize (True) tremor alarms or don't (False)
    EventAlarmEnabled False             # Recognize (True) event alarms or don't (False)
    StationsNecessaryForEventAlarm 3    # At least this many station must be in events concurrently
                                        # before a tremor alarm is raised
    CheckInhibitStationsDelay 0         # Delay (seconds) to wait before recognizing an inhibiting station
    EventAlarmResetTime 1
    TremorAlarmResetTime 10
    Station RDE:EHZ:AV                  # Stations that are part of this subnet
    Station RDN:EHZ:AV
    Station RDT:EHZ:AV
    Station RDW:BHZ:AV
    Station RDWB:BHZ:AV
    Station RED:EHZ:AV
    Station REF:EHZ:AV
    Station RSO:EHZ:AV

    [RDE:EHZ:AV]                    # Stations are identified by their SCN
    [RDN:EHZ:AV]
    [RDT:EHZ:AV]
    [RDW:BHZ:AV]
    [RDWB:BHZ:AV]
    UseAsInhibitor True             # Optional command indicating a station is an inhibitor
    [RED:EHZ:AV]
    [REF:EHZ:AV]
    [RSO:EHZ:AV]

Note: once the optional command `TreatAsIni` appears, the subsequent lines of the file will be expected to be in the format of a Windows .ini file; in particular, a equals sign (`=`) must appear after a command name, and commas (`,`) are used to separate arguments. This can be used to simplify the migration from using the Visual Basic implementation of this module's functionality to the use of this module.
Module Index | Ew_rsamalarm Overview