7. LW3 Programmers' Reference
7.5.2. 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 showing the current state of the output ports.
Parameters
The structure of the response
<out#_state>
Example
ç GET /MEDIA/VIDEO/XP.DestinationPortStatus
æ pr /MEDIA/VIDEO/XP.DestinationPortStatus=M00BF;T00AE
M
0
0 0
0 0
Unlocked,
Muted
Reserved
Reserved
7.5.3. Querying the Video Crosspoint Setting
Command and Response
#crosspoint
ç 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.5.4. Switching Video Input
Command and Response
ç 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
INFO:
When using the '0' value as an input, the input will be disconnected and no signal will appear on the
output.
is the same as the
<in#_state>
described in the previous section.
0
B
0 0
0 0
1 0
1 1
1 1
No emb.
Signal
Reserved
Reserved
Encrypted
audio
presents
#switch
Applied firmware package: v1.5.0b8 | LDC software: v2.3.0b1
MMX4x2 series – User's Manual
7.5.5. Querying the Video Autoselect Settings
Command and Response
ç 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:
#portstatus
<out#_set>
Parameters
Parameter
<state>
<mode>
F
1 1
Connected
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:
7.5.6. Changing the Autoselect Mode
Command and Response
CALL·/MEDIA/VIDEO/XP:setDestinationPortAutoselect(<out>:<state><mode>)
ç
æ mO·/MEDIA/VIDEO/XP:setDestinationPortAutoselect
Parameters
See the previous section. Please note that the mode setting cannot be changed when D is sent to change
the state to Disabled.
INFO:
Examples
ç CALL /MEDIA/VIDEO/XP:setDestinationPortAutoselect(O1:D;O2:EL)
æ mO /MEDIA/VIDEO/XP:setDestinationPortAutoselect
The Autoselect is switched off on output1, the mode setting is not changed. The Autoselect is switched on
on output2, Last detect mode is selected.
#autoselect
=
<state><mode>
Parameter description Value
The state of the
The autoselect is enabled
E
autoselect
The autoselect is disabled
D
The mode of the
F
First detect mode: the first active video input is selected.
autoselect
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.
For more information about the Autoselect feature see
Both or just one parameter can be set as shown in the example below.
75
Value description
The Autoselect Feature
section.
Need help?
Do you have a question about the MMX4x2-HDMI and is the answer not in the manual?