Page 86 / 119 Section 8. LW3 Programmers’ reference
8.4. Formal definitions
Method parameters and property values are specified in a modified version of Backus Naur
Form (BNF). The syntax is the following:
“literal” literals are quoted
<expression1>|<expression2> vertical bars denote alternatives
[<expression>] expressions in square brackets are optional
<number>*[<expression>] expression is repeated at least <number> times
*[<expression>] <number> may be omitted, in this case number
defaults to 0
<number>*{<expression>} expressions in curly brackets are repeated
exactly <number> times
In Input port number
Om Output port number
8.5. Video port and crosspoint settings
INFO
The settings described in the coming sections depend on the device as the output port
numbers are different. Port numbers are listed in section 10.4 on page 116.
INFO
The settings of the mirrored outputs are common in most cases. E.g. if the autoselect
setting is changed on Output 1, it will be changed on Output 3 as well.
8.5.1. Query the video crosspoint setting
Command format
GET/MEDIA/VIDEO/XP.DestinationConnectionList
Response format
pr/MEDIA/VIDEO/XP.DestinationConnectionList=<O1_state>„;”<O2_state>„;”…”;”
<On_state>
The response depends on the number of the outputs and shows the number of the input
that is connected to the given output.
Example
> GET/MEDIA/VIDEO/XP.DestinationConnectionList
< pr/MEDIA/VIDEO/XP.DestinationConnectionList=I1;I3;I1;I3
Explanation
I1 port is connected to O1 and O3, I3 is connected to O2 and O4.
8.5.2. Switching video input
Command format
CALL/MEDIA/VIDEO/XP:switch(<In>„:”<Om>)
Response format
mO/MEDIA/VIDEO/XP:switch
Example
> CALL/MEDIA/VIDEO/XP:switch(I4:O1)
< mO/MEDIA/VIDEO/XP:switch
Explanation
I4 port is connected to O1 port.