January 2006
G-4 Communicating with the OPTICA Using Ethernet
Retrieving the Alarm
Types
This command enables the user to retrieve different alarm types that
are supported by the Optica, and the order in which they are
referenced.
Command:
http://3.112.160.36:28005/OpticaAPI.xml?GetAlarmTypes
Function Name: GetAlarmTypes
Channel: 0
Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<OpticaAPIReturn Function="GetAlarmTypes">
<NumAlarmTypes>6</NumAlarmTypes>
<AlarmType>SetPoint</AlarmType>
<AlarmType>Inner Band</AlarmType>
<AlarmType>Outer Band</AlarmType>
<AlarmType>Control</AlarmType>
<AlarmType>Service</AlarmType>
<AlarmType>Pacer</AlarmType>
<retval>GEIAPI_SUCCESS</retval>
</OpticaAPIReturn>
This Response indicates that 6 alarm types are supported. They are
listed in order with the reference being 0.