7. LW3 Programmers’ Reference
MODEX-F15-OPTS, MODEX-F15-OPTM series – User's Manual
59
7.6.8. Query the Status of Destination Ports
Command format
:
GET
●
/MEDIA/VIDEO/XP.DestinationPortStatus
Response format
:
pr
●
/MEDIA/VIDEO/XP.DestinationPortStatus=[<O
1
>;<O
2
>;…; <O
n
>]
The responses contain one letter and a 2-byte long HEX code showing the current state of the output ports.
Example:
˃
GET /MEDIA/VIDEO/XP.DestinationPortStatus
˂
pr /MEDIA/VIDEO/XP.DestinationPortStatus=T00AF
Legend:
See at previous section.
7.6.9. Query the Video Autoselect Settings
Command format
:
GET
●
/MEDIA/VIDEO/XP.DestinationPortAutoselect
Response format:
pr
●
/MEDIA/VIDEO/XP.DestinationPortAutoselect=<O
1
_set>;
<O
2
_set>;…;<O
n
_set>
The response shows the settings of each output one by one.
Legend:
<O
n
_set>
Two-letter code of the Autoselect settings:
Letter
Explanation
1
st
letter
E:
Autoselect is
enabled
D: Autoselect is
disabled
2
nd
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.
Example:
˃
GET /MEDIA/VIDEO/XP.DestinationPortAutoselect
˂
pr /MEDIA/VIDEO/XP.DestinationPortAutoselect=EL
Explanation
:
EL
: the Autoselect is Enabled on output 1, selected mode is Last detect.
INFO: For more information in
7.6.10.
Change the Autoselect Mode
Command format
: CALL
●
/MEDIA/VIDEO/XP:setDestinationPortAutoselect(<O
n
>:<O
n
_set>)
Response format
: mO
●
/MEDIA/VIDEO/XP.setDestinationPortAutoselect
Legend
: see previous section.
Example1:
˃
CALL /MEDIA/VIDEO/XP:setDestinationPortAutoselect(O1:EP)
˂
mO /MEDIA/VIDEO/XP:setDestinationPortAutoselect
Explanation1
: The setting is changed to “EP”: 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
Explanation2
: The setting is changed to “DP”: Autoselect is disabled (D). The other settings remain
unchanged. Since the outputs are linked, the change will affect local and link out.
7.6.11. Query the Input Port Priority
Command format
:
GET
●
/MEDIA/VIDEO/XP.PortPriorityList
Response format
:
pr
●
/MEDIA/VIDEO/XP.PortPrioirtyList=<O
1
_list>;<O
2
_list>;...
…;<O
n
_list>
The response shows the priority of each output one after another. The priority number can be from 0 to 31;
0 is the highest- and 30 is the lowest priority. 31 means that the port will be skipped from the priority list.
Legend:
<O
n
_list>
The input port priority order of the given output port: <I
1
>,<I
2
>,…,<I
m
>
Example:
˃
GET /MEDIA/VIDEO/XP.PortPriorityList
˂
pr /MEDIA/VIDEO/XP.PortPriorityList= 0,1;0,1
Explanation:
There are two outputs, so there are two groups listed in the response (divided by semicolons) and each
group (list) contains four priority numbers. The priority list of O1 and O2 are common.
Priority
0
1
...
x
Video input port
I1
I2
...
I
m
Highest priority is assigned to I1 port.
ATTENTION!
The same priority number can be set to different input ports. When the priority numbers
match, the input port with the lowest port number will have the highest priority.