7. LW2 Programmers' Reference
MX2-8x8-HDMI20 series – User's Manual
36
7.3.
Crosspoint Operations
7.3.1.
Switch an Input to an Output
Description
: Switch input <in> to output <out>.
Format
Example
Command {<in>@<out>}
→
{1@1}
Response (O<out²>
●
I<in²>)CrLf
←
(O01 I01)CrLf
Explanation 1:
Input 1 is switched to output 1.
Format
Example
Command {<in>@<out>}
→
{2@4}
Response (1LO<out²>)CrLf
←
(1LO04)CrLf
Explanation 2:
Input 2 to output 4 switch is not made because output 4 is locked.
INFO: The response for this command does not show if the output is muted. To check the mute status a
separate query has to be used like {VC}. See
View Connections of all Outputs
INFO: To achieve multiple switches executed together, see the next section.
7.3.2.
Batch Switch Outputs
Description:
The matrix is able to switch multiple outputs exactly at the same time. To do this, the normal
switch commands have to be used. If the switch commands arrive at the router with less than 10 milliseconds
delay, then the router collects the commands and changes the output connections together.
Required circumstances:
▪
Switch commands have this format: {<in>@<out>}{<in>@<out>}
▪
The delay between two ‘}’ characters must be below 10 milliseconds
▪
No other command or junk character is allowed between switch commands
▪
Affected outputs must not be locked
If any of the above circumstances fail, then the commands will be processed separately and the output
connections will change on by one.
ATTENTION!
The delay timeout applies for the receiving time of characters. Please note that if LAN
connection is used then the network may cause additional delays. This could result that batch switching
does not occur.
Below example shows a command that resulted batch switching:
The below example shows a command that does not resulted batch switching because another command
has been inserted:
INFO: The response does not show if batch switching happened or not. This assures that a third party
controller does not get unknown responses.
7.3.3. View the Connection of an Output Port
Description
: See the connected input port number of an output port.
Format
Example
Command {?<out>}
→
{?1}
Response (O<out
2
>
●
I<in
2
>)CrLf
←
(O01 I03)CrLf
Explanation:
Input 3 is switched to output 1.
7.3.4.
View Connections of all Outputs
Description: Viewing all outputs’ connection showing the connected inout port.
Legend
1
: All <Ox> indexes show the corresponding output’s connection state. If value <O5> equals 04 it
means that output 5 is connected to input 4. All <Ox> indexes are two digit ASCII characters (01, 02, 04, etc.).
Explanation 1: Viewing connection for all outputs. Input 2 is connected to outputs 1, 2 and 3. Input 5 is
connected to outputs 4, 5 and 6. Input 8 is connected to outputs 7 and 8.
One by one commands
Batch commands
→
{02@01}
→
{02@01}{05@04}
←
(O01 I02)CrLf
←
(O01 I02)CrLf
→
{05@04}
←
(O04 I05)CrLf
←
(O04 I05)CrLf
One by one commands
Batch commands
→
{02@01}
→
{02@01}{+06}{05@04}
←
(O01 I02)CrLf
←
(O01 I02)CrLf
→
{+06}
→
(0MT06)CrLf
←
(0MT06)CrLf
←
(O04 I05)CrLf
→
{05@04}
←
(O04 I05)CrLf
Format
Example 1
Command
{VC}
→
{vc}
Response (ALL
●
<O1>
●
<O2>
●
<O3>
●
<O4>
●
<O5>
●
<O6>
●
<O7>
●
<O8>)CrLf
←
(ALL 02 02 02 05 05 05 08 08)CrLf