7. LW3 Programmers’ Reference
MMX4x2 series – User's Manual
90
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
7.6.3. Querying the Status of the Output Ports
Command and Response
#portstatus
ç
GET·/MEDIA/VIDEO/XP.DestinationPortStatus
æ
pr·/MEDIA/VIDEO/XP.DestinationPortStatus=
<out1_state>
;
<out2_state>
The response contains 5 ASCII characters for each output port. The first character indicates the mute/lock
state, the next 2-byte-long HEX code shows the current state of the output ports.
#portstatus
Parameters
The structure of the response
<out#_state>
is the same as the
<in#_state>
described in the previous section.
Example
ç
GET /MEDIA/VIDEO/XP.DestinationPortStatus
æ
pr /MEDIA/VIDEO/XP.DestinationPortStatus=M00BF;T00AE
M
0
0
B
F
Unlocked,
Muted
0 0
0 0
0 0
0 0
1 0
1 1
1 1
1 1
Reserved
Reserved
Reserved
Reserved
No emb.
audio
Encrypted
Signal
presents
Connected
7.6.4. Querying the Video Crosspoint Setting
Command and Response
#crosspoint
#switch
ç
GET·/MEDIA/VIDEO/XP.DestinationConnectionList
æ
pr·/MEDIA/VIDEO/XP.DestinationConnectionList=
<in>;<in>
The response shows the input ports connected to the output ports: first value is for O1, the second is for O2.
Example
ç
GET /MEDIA/VIDEO/XP.DestinationConnectionList
æ
pr /MEDIA/VIDEO/XP.DestinationConnectionList=I1;I3
I1 input port is connected to the O1 output port, I3 input port is connected to the O2 output port.
7.6.5.
Switching Video Input
Command and Response
ç
CALL·/MEDIA/VIDEO/XP:switch(
<in>
:
<out>
)
æ
mO·/MEDIA/VIDEO/XP:switch
Example 1
ç
CALL /MEDIA/VIDEO/XP:switch(I2:O1)
æ
mO /MEDIA/VIDEO/XP:switch
Example 2
ç
CALL /MEDIA/VIDEO/XP:switch(0:O1)
æ
mO /MEDIA/VIDEO/XP:switch
When using 0 (zero) value as an input, the input will be disconnected and no signal will appear on the output.
7.6.6. Querying the Video Autoselect Settings
Command and Response
#autoselect
ç
GET·/MEDIA/VIDEO/XP.DestinationPortAutoselect
æ
pr·/MEDIA/VIDEO/XP.DestinationPortAutoselect=
<out1_set>;<out2_set>;<out3_set>
The response shows the settings of each output one by one. The structure of the response is the following:
<out#_set>
=
<state><mode>
Parameters
Parameter Parameter description
Value
Value description
<state>
The state of the
autoselect
E
The autoselect is
enabled
D
The autoselect is
disabled
<mode>
The mode of the
autoselect
F
First
detect mode: the first active video input is selected.
P
Priority
detect mode: always the highest priority active video
input will be selected.
L
Last
detect mode: always the last attached input is
switched to the output automatically.
Example
ç
GET /MEDIA/VIDEO/XP.DestinationPortAutoselect
æ
pr /MEDIA/VIDEO/XP.DestinationPortAutoselect=EL;DP;DP
EL
: the Autoselect is
Enabled
on the output 1, selected mode is
Last detect
.
DP:
the Autoselect is
Disabled
on output 2 and output 3.
INFO:
For more information about the Autoselect feature, see
section.