Alarmnotifierread, Alarmnotifierread -20, 4 alarmnotifierread – Echelon i.LON 100 e2 Internet Server User Manual
Page 126

<UCPTlevel>1</UCPTlevel>
<UCPTalarmText>Log 30 percent full</UCPTalarmText>
<UCPTactAlarmType>AL_ALM_CONDITION</UCPTactAlarmType>
</ActiveAlarm>
<PassiveAlarm>
<UCPTindex>0</UCPTindex>
<UCPTlevel>255</UCPTlevel>
<UCPTalarmText>Normal Condition</UCPTalarmText>
<UCPTpasAlarmType>AL_NUL</UCPTpasAlarmType>
</PassiveAlarm>
<AlarmDest>
<UCPTindex>0</UCPTindex>
<UCPTdestEnable>NVL_nviWeekday</UCPTdestEnable>
<ActiveDest>
<UCPTindex>0</UCPTindex>
<UCPTemailNickName>Headquarters</UCPTemailNickName>
<UCPTpointName>NVL_nvoDlClear</UCPTpointName>
<UCPTpointValue>100.0 1</UCPTpointValue>
<UCPTminLevel>2</UCPTminLevel>
<UCPTmaxLevel>0 /UCPTmaxLevel>
<
<UCPTnackDelay>0</UCPTnackDelay>
</ActiveDest>
<PassiveDest>
<UCPTindex>0</UCPTindex>
<UCPTemailNickN
Headquarters</UCPTemailNickName>
ame>
<UCPTpointName>NVL_nvoDlClear</UCPTpointName>
<UCPTpointValue>0.0 0</UCPTpointValue>
</PassiveDest>
</AlarmDest>
</Alarm>
</iLONAlarmNotifier>
<Data>
<Result>
<Result>
Parameter
<iLONAlarmNotifier>
<Alarm>
<UCPTindex>9</UCPTindex>
</Alarm>
</iLONAlarmNotifier>
</Result>
8.2.1.4 AlarmNotifierRead
Each time an Alarm Notifier causes an alarm notification, it will record an entry for that
notification into its log file. You can use the AlarmNotifierRead function to retrieve some or
all of the log entries that an Alarm Notifier has recorded. You must reference the Alarm
Notifier to return log entries for by its index number in <Data> parameter you supply to the
function.
You can specify which log entries the function will return by filling the properties described
in Table 37 into the <Data> parameter you supply to the function. If you do not fill the
parameters described in Table 37 into the <Data> parameter, all the entries in the log will be
returned. However, you should not attempt to return more than 100 log entries with
a single call to this function.
NOTE: You can find the log files in the /root/AlarmLog directory of the
i.
LON 100. These
files are named histlogX, where X represents the index number assigned to the Alarm
Notifier when it was created. An Alarm Notifier will not generate a log file until it has
generated an alarm notification.
i.
LON 100 Internet Server Program
8-20
mer’s Reference