7. LW3 Programmers' Reference
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.
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.6.4. 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.
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.6.0b19 | LDC software: v2.5.13b5
MMX4x2 series – User's Manual
7.6.5. Switching Video Input
Command and Response
ç CALL·/MEDIA/VIDEO/XP:switch(<in>:<out>)
æ mO·/MEDIA/VIDEO/XP:switch
Example 1
#portstatus
ç 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.
F
7.6.6. Querying the Video Autoselect Settings
1 1
Command and Response
ç GET·/MEDIA/VIDEO/XP.DestinationPortAutoselect
Connected
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>
Parameters
Parameter
<state>
<mode>
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:
#autoselect
=
<state><mode>
Parameter description Value
The state of the
E
The autoselect is enabled
autoselect
D
The autoselect is disabled
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
90
Value description
The Autoselect Feature
section.
Need help?
Do you have a question about the MMX4x2 Series and is the answer not in the manual?