7. LW3 Programmers’ Reference
MX2-8x8-HDMI20 series – User's Manual
47
8.6.
Switching and Crosspoint Settings
INFO: The current setting can be queried by using the
.
8.6.1. Query the Video Crosspoint State
Command format:
GET
●
/MEDIA/XP/VIDEO.DestinationConnectionStatus
Response format:
pr
●
/MEDIA/XP/VIDEO.DestinationConnectionStatus=<O1_state>;<O2_state>;...;<O8_state>
Example:
˃
GET /MEDIA/XP/VIDEO.DestinationConnectionStatus
˂
pr /MEDIA/XP/VIDEO.DestinationConnectionStatus=I1;I1;I1;I1;I1;I1;I1;I1;
Explanation:
I1 input port is connected to all output ports.
8.6.2.
Switching an Input to an Output
Command format:
CALL
●
/MEDIA/XP/VIDEO:switch(<In>:<Om>)
Response format:
mO
●
/MEDIA/XP/VIDEO:switch=OK
Example:
˃
CALL /MEDIA/XP/VIDEO:switch(I4:O1)
˂
mO /MEDIA/XP/VIDEO:switch=OK
8.6.3.
Switching an Input to All Outputs
Command format:
CALL
●
/MEDIA/XP/VIDEO:switchAll(<In>)
Response format:
mO
●
/MEDIA/XP/VIDEO:switchAll=OK
Example:
˃
CALL /MEDIA/XP/VIDEO:switch(I1)
˂
mO /MEDIA/XP/VIDEO:switchAll=OK
TIPS AND TRICKS: All output ports can be disconnected by the '0' value: CALL /MEDIA/XP/
VIDEO:switchAll(0).
8.6.4.
Multiple Switching
The whole crosspoint can be set by sending one command as follows.
Command format:
CALL
●
/MEDIA/XP/VIDEO:switchMulti(<O1_source>;<O2_source>;...;<O8_source>)
Response format:
mO
●
/MEDIA/XP/VIDEO:switchMulti=OK
The source is not required to set on all output ports (see the
Example2
).
Example1:
˃
CALL /MEDIA/XP/VIDEO:switchMulti(I1;I2;I3;I4;I5;I6;I7;I8)
˂
mO /MEDIA/XP/VIDEO:switchMulti=OK
Example2:
˃
CALL /MEDIA/XP/VIDEO:switchMulti(I1;I2;;;I5)
˂
mO /MEDIA/XP/VIDEO:switchMulti=OK