User`s manual
11. Appendix A - Hydra Open Protocol
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
____________________________________________________________________________________
11-9
11.3.3 File related commands
This section lists all commands which can be used to manage configuration files of the HYDRA wall, i.e. informa-
tion about wall layouts, layouts, objects, stream setup and encoder setup. All these files are stored in the save
folder, please refer also to section
8.1 Data structure and data access. Information about names and structure of the
files can be found in the next section,
11.3.4 File content.
Get list files
Get a list with all available stored files.
Send
<COMMAND ID="getlistfiles" SERIAL="example">
</COMMAND>
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
<FILE ID="4x4" TYPE="layout">4x4_layout</FILE>
<FILE ID="clock" TYPE="object">clock_object</FILE>
...
</COMMANDRESULT>
The full filename is inside the file tag.
See also deletefile, loadfile, savefile
Load file
Get the content of the specified file from the H
YDRA.
Send
<COMMAND ID="loadfile" SERIAL="example">
<FILE ID="4x4" TYPE="layout"></FILE>
</COMMAND>
For each file specify: name and type, type is optional
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
<FILE ID="4x4" TYPE="layout">
<LINE>...</LINE>
...
</FILE>
</COMMANDRESULT>
Between the line tags are the lines of the file.
See also deletefile, getlistfiles, savefile
Save file
Store a file on the H
YDRA wall.
Note: This command stores the file without any notice, even though a file with this name might already exist.
Therefore carefully check in advance not to overwrite information you still need.
Send
<COMMAND ID="savefile" SERIAL="example">
<FILE ID="timer" TYPE="object">
<LINE>...</LINE>
...
</FILE>
</COMMAND>
For each file specify: name and type, type is optional. Between the line tags are the lines of the
file.
Receive
<COMMANDRESULT SERIAL="example" ERROR="0">
</COMMANDRESULT>
See also deletefile, getlistfiles, loadfile