beautypg.com

Command protocol, Command responses, Query options – Barco DCS-200 User Manual

Page 128: Ibrt, Command responses query options, Згг~ез=mêçíçåçä, Згг~ез=oéëéçåëéë, Nìéêó=léíáçåë, K==oéãçíé=`зенкзд

background image

128

DCS-200 • User’s Guide

_K==oÉãçíÉ=`зенкзд

Command Protocol

`згг~еЗ=mêçíçÅçä

The DCS-200’s command protocol is compatible with GNU getopt parsing. Every
parameter of the command has an option character associated with it. A carriage
return (ASCII 13) terminates the command.

S

Command example:

ITYPE -i 2 -t 1

Or

ITYPE -t 1 -i 2

`згг~еЗ=oÉëéçåëÉë

A command response is sent after each command is processed. This response consists of
the command, followed by the error code, a line feed and a special termination
character (\x4).

When a command is successful, the error code is a 0 (eERR_OK), or some
positive value.

When a command is not successful, the error code is a negative value. A
preliminary list of the error codes is included. Refer to the “

Error Codes

” section

on page 130 for details.

S

Command response example:

ITYPE -e 0

nìÉêó=léíáçåë

Query type options are available for the commands. The order of precedence for
processing query option arguments is help (--help), query (-?), and list (--list). If more than
one query option is sent in a command, the option with the highest precedence is
processed, and any others are ignored.

Help Query — Commands have a “help” query option associated with them, (--help). This
query lists all option flags and parameters for the command in the following format:

S

Help option example:

IBRT --help

S

Response:

f_oq

Description: Input Brightness Adjust

Command Format: IBRT -i(input) -b(bright)

Note

The order of the option characters in the command does not
matter.