User`s manual

Sierra Video Systems
18
“S”: Status Inquiry
Use command S to request that status information be returned to the host. The status
information is sent as a string of L x O substrings, where L = number of levels and O =
number of outputs. Each level/output combination generates a single substring of status.
Thus, a 21-level 16 output router would generate 2x16 = 32 substrings of status
command output. The length of each substring depends on the size of the particular
switcher involved. Larger switchers use bigger numbers for inputs, outputs, and levels.
The first substring of status is for level 1 output 2, etc.; however, each substring contains
the level and output numbers, so the sequence in which the data is sent is not important).
The first characters of each substring are a space followed by “X”, then the output
number, a comma character, the input number connected to the output (or 0 if no
connection exists), another comma, and finally the level number at which the input-output
pair is connected. For example, the command:
**S!!
might have the following two substrings at the beginning of its response:
**x01, 12, 1 x02, 02, 1!!
This indicates that output 1 is connected to input 12 on level 1, and that output 2 is
connected to input 2 on level 1.
The number of digits used for each number is generally the maximum number of digits
ever required for that particular switcher. Thus, a switcher with between 10 and 99 inputs
would use two digits for the input number, and a switcher with less than 10 levels would
use one digit for the level number.
“C”: Clear Matrix
Use command C to request that the switcher matrix be cleared so that all outputs are
disconnected from inputs (in switchers where this is possible) or else all outputs at all
levels have input 1 as their source. This command can take several seconds to execute
(depending on the size of the switcher matrix). In order to help ensure that this command
isn’t accidentally executed, it requires four additional characters following the “C”
character, to spell out the word “CLEAR” in full. For example, the command:
**CLEAR!!
would clear the matrix and when finished — the following response would be generated:
**OK!!<CR>
“K”: Set Password
The command "K" is followed by a password, which may be 0 to cancel the previous
password, thus causing no password to be specified, or, it may be a value between 1 and
9999 to supply a password, which remains in effect until another password (or password
0) is supplied in another “K” command. The password is stored by the router under the
remote address specified using an “M” command, or under the control port is remote
address if an “M” command was not specified before the “K” command in the same
command string as the “K” command. The password that is set remains in effect until
another “K” command is received from the same remote address.
It would be used to establish a password for a remote address, to be used for such things
as locking and unlocking outputs and modifying the router configuration. When the router