User`s manual
11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
11-31
Get source state
Get the current state of the sources of a module of the H
YDRA wall (this are for instance the detected parameters
for video).
Send
<COMMAND ID="getsourcestate" SERIAL="example">
<MODULE ID="module1"></MODULE>
</COMMAND>
For each module specify: module name
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
<MODULE ID="module1">
<LINE>...</LINE>
...
</MODULE>
</COMMANDRESULT>
Between the line tags are the lines of the current state of the sources.
See also getmodulestate
Get module state
Get the state of all sources for a module of the H
YDRA wall.
Note: Freeze is currently always 0. Further development of this element follows.
Send
<COMMAND ID="getmodulestate" SERIAL="example">
<MODULE ID="module1"></MODULE>
</COMMAND>
For each module specify: module name
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
<MODULE ID="module1">
<SOURCE ID="0" NAME="Source1"> source number and name
<ALARM>1</ALARM> 1 if at least one alarm is active
(object has a flashing border)
<FREEZE>0</FREEZE> 1 if source is frozen
<TALLY ID="0">1</TALLY> 1 if tally 1 is active
<TALLY ID="1">0</TALLY> 1 if tally 2 is active
<TALLY ID="2">0</TALLY> 1 if tally 3 is active
</SOURCE>
...
</MODULE>
</COMMANDRESULT>
See also getsourcealarm, getsourcename, getsourcetally, getsourcestate
Get source freeze
Get the freeze-state of sources of a module of the H
YDRA.
Send
<COMMAND ID="getsourcefreeze" SERIAL="example">
<MODULE ID="module2">
<SOURCE ID="0"></SOURCE>
<SOURCE ID="10"></SOURCE>
<SOURCE ID="20"></SOURCE>
</MODULE>
</COMMAND>
For each source specify: module name and source number (0 - n).
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
<MODULE ID="module2">
<SOURCE ID="0">0</SOURCE> 0 not frozen
<SOURCE ID="10">1</SOURCE> 1 frozen
<SOURCE ID="20">0</SOURCE>
</MODULE>
</COMMANDRESULT>
See also getmodulestate, setsourcefreeze