User`s manual
11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
11-21
The following five lines (between LINE elements) are returned:
lines - top to bottom explanation
<LINE>adminpassword</LINE>
the administrator password
<LINE>userpassword</LINE>
the user password
<LINE>0</LINE>
The default language is represented by a number according to the order in
the language menu in the iSTUDIO GUI, starting from 0.
<LINE>511</LINE>
The user privileges are represented by the decimal representation of a bit
flag. The positions 876543210 stand for the items:
0: save items
1: delete saved items
2: halt
3: reset
4: setup module
5: setup source
6: setup module or wall time
7: setup color
8: clear all alarms
The privileges for a user who is allowed to save items and setup color
would result in the bit flag 010000001. After conversion to decimal repre-
sentation, this would result in 129.
The value 511 represents full user privileges (every flag is set).
<LINE>1</LINE>
user interface settings are also represented by the decimal representation
of a bit flag. Only one bit is used:
0: use fast view tree.
Set setup usermode
Set the user mode setup of the H
YDRA wall.
Send
<COMMAND ID="setsetupusermode" SERIAL="example">
<LINE>...</LINE>
...
</COMMAND>
Between the line tags are the lines of the user mode setup, please see getsetupusermode above.
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
</COMMANDRESULT>
See also getsetupusermode
Get setup colors
Get a list of the available colors in form of a list with the RGB color triples (values from 0 to 255) and names.
Send
<COMMAND ID="GETSETUPCOLORS" SERIAL="example">
</COMMAND>
Receive
<TRANSACTIONRESULT SERIAL="serial" ERROR="0">
<COMMANDRESULT SERIAL="example" ERROR="0">
<LINE> 51 51 51 audiobackground</LINE>
<LINE>127 127 127 audiobarbackground</LINE>
...
</COMMANDRESULT>
Between the line tags are the lines of the color setup.
See also setsetupcolors