Alarm Monitor Sample
Previous  Top  Next

<!-- ====================================================================== -->
<!-- This configuration file defines one or more GSEOS Alarm Monitors.      -->
<!-- In order to install the Alarm Monitors in GSEOS load the file from     -->
<!-- the File/Open menu or specify it in the Load entry in gseos.ini        -->
<!--                                                                        -->
<!-- GSE Software, Inc.                                                     -->
<!-- Author: Thomas Hauck                                                   -->
<!--                                                                        -->
<!-- History:  Apr-08-2004 th R001 First implementation.                    -->
<!--                                                                        -->
<!-- ====================================================================== -->
<GSEOSConfig Version = "1.0">
  <AlarmMonitor Name="AlarmTest1">
    <DataItem Name="AlarmMonitorTestBlk.X1"/>
    <Trigger Condition='4.0 > Value >= 5.0' Count="2" Timeout = "6.3"/>
    <Actions>
      <Message>
        <Text>
          A red high
          alarm has occurred.
        </Text>
      </Message>

      <LogFile FileName="MIMIAlarmLog.log">
        <Text>
          "A red high alarm has occurred."
        </Text>
      </LogFile>
      
      <Command Name = "PS_DECON1 OFF"/>
      <Command Name = "PS_DECON2 OFF"/>

      <Python Function = "GseosCmd.sound('alarm.wav')" />
      <Python Function = "GseosCmd1.sound('alarm.wav')" />
      
      <Email SMTPHost = "mail.gseos.com" Quota="4" QuotaPeriod= "2h" >
        <From>SOPC@jhuapl.edu</From>
        <To>aaa@bbb.ccc</To>
        <To>xxx@yyy.zzz</To>
        <Subject>AlarmMonitorTest1</Subject>
        <Body>
          This is the message body. In addition this text will be prefixed by 
          some general information about the alarm.
        </Body>
      </Email>  
    </Actions>
  </AlarmMonitor>
</GSEOSConfig>