User`s manual

11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
11-45
11.4.3 Available events
Alarm changed
This event enables the monitoring of all or specific alarms. Please note that only the alarms that are enabled in
the source setup of a module are useful. The full list of available source related alarms can be found in the iStu-
dio user interface or can be requested with the getlistalarms command. A few examples of alarms are
videoloss, videoblack, videowhite and audioloss.
Furthermore the module related ntpsynchrolost alarm is available. It refers to the module not to a source and is
therefore addressed as source no. -1.
Within the <ALARMCHANGED> element the following elements might be:
<ENABLEALLMODULE> element
to enable all alarms of a module. Specify module
<DISABLEALLMODULE> element
to disable all alarms of a module. Specify module
<ENABLEALLSOURCE> element
to enable all alarms of a source. Specify module and source.
<DISABLEALLSOURCE> element
to disable all alarms of a source. Specify module and source.
<ENABLE> element
to enable a specific alarm. Specify module, source and alarmtype.
Enable /
disable
<XML>
<PACKET MODULE="HYDRA" VERSION="1.0">
<EVENT ID="alarmchanged" SERIAL="example">
<ENABLEALLMODULE>
<MODULE ID="module1"></MODULE> Enable all alarms for this module
</ENABLEALLMODULE>
<DISABLEALLMODULE>
<MODULE ID="module2"></MODULE> Disable all alarms for this module
<MODULE ID="module3"></MODULE>
</DISABLEALLMODULE>
<ENABLEALLSOURCE>
<MODULE ID="module4">
<SOURCE ID="29"></SOURCE> Enable all alarms on this source
<SOURCE ID="19"></SOURCE>
<SOURCE ID="9"></SOURCE>
</MODULE>
</ENABLEALLSOURCE>
<DISABLEALLSOURCE>
<MODULE ID="module5">
<SOURCE ID="11"></SOURCE> Disable all alarms for this source
</MODULE>
</DISABLEALLSOURCE>
<ENABLE>
<MODULE ID="module3">
<SOURCE ID="11">
<ALARM ID="videoblack"></ALARM> Enable this alarm for this source
<ALARM ID="videowhite"></ALARM>
</SOURCE>
</MODULE>
</ENABLE>
<DISABLE>
<MODULE ID="module2">
<SOURCE ID="21">
<ALARM ID="videoloss"></ALARM> Disable this alarm for this source
</SOURCE>
</MODULE>
</DISABLE>
</EVENT>
</PACKET>
</XML>