6. LW3 Programmers’ Reference
HDMI20-OPTC series – User's Manual
47
6.6.4. Querying the Status of Destination Ports
Command format:
GET
●
/MEDIA/VIDEO/XP.DestinationPortStatus
Response format:
pr
●
/MEDIA/VIDEO/XP.DestinationPortStatus=[<O
1
><O
2
>]
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=T008E;M008E
Legend: See at previous section.
Example:
M
0
0
8
E
Unlocked,
Muted
0 0
0 0
0 0
0 0
10
00
1 1
10
Reserved
Reserved
Reserved
Reserved
No embedded
audio
Unknown
Signal
presents
Connected
6.6.5.
Muting Input Port
Command format:
CALL
●
/MEDIA/VIDEO/XP:muteSource(<I
n
>)
Response format:
mO
●
/MEDIA/VIDEO/XP:muteSource
Example:
˃
CALL /MEDIA/VIDEO/XP:muteSource(I1)
˂
mO /MEDIA/VIDEO/XP:muteSource
6.6.6.
Unmuting Input Port
Command format:
CALL
●
/MEDIA/VIDEO/XP:unmuteSource(<I
n
>)
Response format:
mO
●
/MEDIA/VIDEO/XP:unmuteSource
Example:
˃
CALL /MEDIA/VIDEO/XP:unmuteSource(I1)
˂
mO /MEDIA/VIDEO/XP:unmuteSource
6.6.7.
Locking Input Port
Command format:
CALL
●
/MEDIA/VIDEO/XP:lockSource(<I
n
>)
Response format:
mO
●
/MEDIA/VIDEO/XP:lockSource
Example:
˃
CALL /MEDIA/VIDEO/XP:lockSource(I1)
˂
mO /MEDIA/VIDEO/XP:lockSource
6.6.8.
Unlocking Input Port
Command format:
CALL
●
/MEDIA/VIDEO/XP:unlockSource(<I
n
>)
Response format:
mO
●
/MEDIA/VIDEO/XP:unlockSource
Example:
˃
CALL /MEDIA/VIDEO/XP:unlockSource(I1)
˂
mO /MEDIA/VIDEO/XP:unlockSource
6.6.9. Querying the Video Autoselect Settings
Command format:
GET
●
/MEDIA/VIDEO/XP.DestinationPortAutoselect
Response format:
pr
●
/MEDIA/VIDEO/XP.DestinationPortAutoselect=<O
1
_set>; <O
2
_set>
The response shows the settings of output1 and output2.
Example:
˃
GET /MEDIA/VIDEO/XP.DestinationPortAutoselect
˂
pr /MEDIA/VIDEO/XP.DestinationPortAutoselect=EP;EP
Legend:
Letter
Explanation
1
st
letter
E: Autoselect is enabled.
D: Autoselect is disabled.
2
st
letter
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.
Explanation:
EP: the Autoselect is Enabled on output 1 and output 2, selected mode is Priority detect.