User`s manual

11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
11-36
Get alarm config
Get the configuration of all alarms of a source.
Send
<COMMAND ID="getalarmconfig" SERIAL="example">
<module id="module1">
<source id=0></source>
</module>
</COMMAND>
For each source specify: module name, source number (0 - n)
Receive
<COMMANDRESULT SERIAL=" example " ERROR="0">
<MODULE ID=" module1">
<SOURCE ID="0">
<ALARM ID="videoloss">
<ACTIVATED>0</ACTIVATED>
<AUTO>1</AUTO>
<SHOWINALARMLIST>1</SHOWINALARMLIST>
<SHOWINOBJECT>1</SHOWINOBJECT>
<SNMP>0</SNMP>
<LOGALARM>0</LOGALARM>
<BUZZER>0</BUZZER>
<DELAYBEFOREACTIVE>0</DELAYBEFOREACTIVE>
<DELAYBEFOREAUTOCLEAR>0</DELAYBEFOREAUTOCLEAR>
</ALARM>
...
</SOURCE>
</MODULE>
</COMMANDRESULT>
Between the alarm tags are the tags with the settings of the alarm parameters.
See also getsetupmodule, setsetupmodule, setsetupsource
Set alarm config
Set the configuration of single alarms of a source.
Send
<COMMAND ID="setalarmconfig" SERIAL="example">
<module id="module1">
<source id="0">
<alarm id="videoloss">
<activated>0</activated>
<auto>1</auto>
<showinalarmlist>1</showinalarmlist>
<showinobject>1</showinobject>
<snmp>1</snmp>
<buzzer>1</buzzer>
<logalarm>1</logalarm>
<delaybeforeactive>10</delaybeforeactive>
<delaybeforeautoclear>10</delaybeforeautoclear>
</alarm>
</source>
</module>
</COMMAND>
In the alarm tag specify the alarm name; between the start and end of the tag specify the set-
tings of the alarm parameters.
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
</COMMANDRESULT>
See also getsetupmodule, getsetupsource, setsetupmodule