7. LW3 Programmers’ Reference
UMX-HDMI-140 series– User's Manual
79
Applied firmware package: v1.2.0 | LDC software: v2.4.1b7
7.5.2. Query the Status of Destination Port
Command and Response
#portstatus
ç
GET·/MEDIA/VIDEO/XP.DestinationPortStatus
æ
pr
·
/MEDIA/VIDEO/XP.DestinationPortStatus=
<out1_state>
;
<out2_state>
;
<…>
;
<out#_state>
The response contains 5 ASCII characters for each port. The first character indicates the mute/lock state,
the next 2-byte long HEX code showing the current state of the output port.
Example
ç
GET /MEDIA/VIDEO/XP.DestinationPortStatus
æ
pr /MEDIA/VIDEO/XP.DestinationPortStatus=M00BF
Parameters:
See at previous section.
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 embedded
audio
Encrypted
Signal
presents
Connected
7.5.3. Query the Video Crosspoint Setting
Command and Response
ç
GET·/MEDIA/VIDEO/XP.DestinationConnectionList
æ
pr
·
/MEDIA/VIDEO/XP.DestinationConnectionList=
<in>
Example
ç
GET /MEDIA/VIDEO/XP.DestinationConnectionList
æ
pr /MEDIA/VIDEO/XP.DestinationConnectionList=I1
Explanation
: I1 input port is connected to the output port.
7.5.4.
Switching Video Input
Command and Response
#switch #crosspoint
ç
CALL·/MEDIA/VIDEO/XP:switch(
<in>
:
<out>
)
æ
mO
·
/MEDIA/VIDEO/XP:switch
Example
ç
CALL /MEDIA/VIDEO/XP:switch(I2:O1)
æ
mO /MEDIA/VIDEO/XP:switch
I2 port is connected to O1 port.
7.5.5. Query the Video Autoselect Settings
Command and Response
#autoselect
ç
GET·/MEDIA/VIDEO/XP.DestinationPortAutoselect
æ
pr
·
/MEDIA/VIDEO/XP.DestinationPortAutoselect=
<out1_set>
;
<out2_set>
;
<…>
;
<out#_set>
The response shows the settings of each output one by one.
Parameters
Parameter
Parameter description
Value
Explanation
<out_set>
Two-letter code of the
Autoselect settings
1
st
letter
E
Autoselect is
enabled.
D
Autoselect is
disabled.
Two-letter code of the
Autoselect settings
2
nd
letter
F
First
detect mode: the first active video
input is selected.
P
Priority
detect: always the highest priority
active video input will be selected.
L
Last
detect: always the last attached input
is switched to the output automatically.
Example
ç
GET /MEDIA/VIDEO/XP.DestinationPortAutoselect
æ
pr /MEDIA/VIDEO/XP.DestinationPortAutoselect=EL
EL
: the Autoselect is Enabled on output, selected mode is Last detect.
INFO:
For more information about the Autoselect feature see the
section.
7.5.6.
Change the Autoselect Mode
Command and Response
ç
CALL·/MEDIA/VIDEO/XP:setDestinationPortAutoselect(
<out>
:
<out_set>
)
æ
mO
·
/MEDIA/VIDEO/XP.setDestinationPortAutoselect
Parameters:
see previous section.
Example1:
ç
CALL /MEDIA/VIDEO/XP:setDestinationPortAutoselect(O1:EP)
æ
mO /MEDIA/VIDEO/XP:setDestinationPortAutoselect
The setting is changed to
EPM
: Autoselect is enabled (E); the mode is set to
priority detect
(P).
Example2:
ç
CALL /MEDIA/VIDEO/XP:setDestinationPortAutoselect(O1:D)
æ
mO /MEDIA/VIDEO/XP:setDestinationPortAutoselect
The setting is changed to “DPM”: Autoselect is disabled (D). The other settings remain unchanged.