beautypg.com

L”: matrix size and level names inquiry, O”: output status inquiry, N”: input status inquiry – Sierra Video Yosemite User Manual

Page 85

background image

SPECIFICATIONS

79

“L”: Matrix Size and Level Names Inquiry

The command "L" requests that matrix size (Nout, Nlvl, Nin) and level name information (lvl1, lvl2,
etc.) be returned to the host. The information is sent as a string of characters. The first characters
are a space followed by "L", some optional values described below, then the number of outputs
(Nout), a comma, the number of levels (Nlvl), a comma, the number of inputs (Nin), a comma,
and then the level names, each terminated by a "~" (tilde), and the last followed by two tildes.

For example, the command:

**L!!

might return the following string:

** L64,3,32,VIDEO~AudioL~AudioR~~ OK !!

indicating that the router has 64 outputs, 3 levels, and 32 inputs, and the levels are named
"VIDEO", "AudioL", and "AudioR".

“O”: Output Status Inquiry

The command "O" requests that matrix status information for a single output be returned to the
host. The status information is sent as a “Y” command or a “V” command or as a sequence of L
“X” commands, where L=number of levels.

For example, the command:

**O5!!

to a 3-level router might have the following three commands as its response:

** X65,23,1 X5,-,2 X5,0,3 !!

Note the dash, indicating that on level 2, output 65 is not connected to an input. Also note the 0,
indicating that the connection on level 3 is either unknown or that output 65 doesn’t exist or isn’t
mapped on level 3.

Or, a 3-level router might have the following single command as its response:

** V65,23,-,0 !!

which has the same information as the three X commands in the previous example.

If the router has only one level, or if all levels are connected the same, the router might instead
use the Y command. For example:

** Y65,23 !!

“N”: Input Status Inquiry

The command "N" requests that matrix status information for a single input be returned to the
host. This command is only useful on those router levels that allow an input to be connected to at
most one output. The status information is sent as a “Y” command or a sequence of L “X”
commands, where L=number of levels that allow an input to be connected to at most one output
(each such level generates a single “X” command of status). Thus, a 6-level router with three
single-output-per input levels would generate 3 “X” commands of status command output. A
router that has all of its levels as single-output-per-input may return a single “Y” command instead
of individual “X” commands if all of the levels are connected to the same output. The “X” and “Y”
commands are formatted exactly as with the "O" command.
For example, the command:

**N4!!

to a router might have the following three commands as its response: