
Page 92 / 129
Section
7
.
Programmers
reference
7.8.
Control commands
Description
: The following commands with <A/V/AV> option can take effect in multiple
layers, according to th
eir parameters. Depending on ‘A’ or ‘V’ it can change only the Audio,
or only the Video layer; or ‘AV’ changes both.
Info:
<A/V/AV> option usually can be skipped for legacy purposes.
In this case using router commands the router changes all (Video & Audio) layers, but using
status commands it displays information about only the Video layer.
Please use AV option, when available.
Usually the commands are sent one by one to the router, but this is not a must. Any
command can be send to the router in a batch. To do this, just use the same commands
(including { } brackets), but put the “
CrLf”
only at the end of the batch.
The below example shows a batch command that resulted group switching:
One by one commands
Batch commands
(UMX4x4)
→ {02@01}CrLf
→ {02@01}{04@03}CrLf
← (O01 I02)CrLf
←
←
(O01 I02)CrLf
(O03 I04)CrLf
→ {04@03}CrLf
← (O03 I04)CrLf
7.8.1. Switch one input to one output
Description
: This command switches an output to an input.
Format
Example
Command {<in>@<out>
●<A/V/AV>
}
→ {4@1 av}
Response (O<out²>●I<in²>
●<A/V/AV>
)CrLf
← (O01 I04 AV)CrLf
Legend:
<A/V/AV>:
Layer select:
A: Audio layer
V: Video layer
AV: Audio&Video layer
Explanation:
The example shows how to connect both Audio and Video from input 4 to
output 1.
Info:
If the command is used without the
<A/V/AV> parameter, both layers are switched.
7.8.2. Switch one input to all outputs
Description
: This command switches all video and/or audio outputs to one input.
Format
Example
Command {<in>@O
●<A/V/AV>
}
→ {3@o av}
Response (I<in²>●ALL
●<A/V/AV>
)CrLf
← (I03 ALL AV)CrLf
Legend:
Switch one input to one output
Explanation:
The example shows how to connect all outputs to input 3.