Page 80 / 119 Section 8. LW3 Programmers’ reference
8.2. The tree structure of MMX6x2-HT matrices
The /MEDIA node is used by the LDC to connect
input ports to output ports on different layers.
Each subnode of /MEDIA is representing a layer.
The layers have their own crosspoint to define
connections between the ports associated with
the layer, all of them are represented by a
specific node (the Audio layer is an exception as
it is embedded in the Video layer).
E.g. the video layer node is /MEDIA/VIDEO:
under the video layer node, the video crosspoint
node (XP) and the video ports (P1, P2, …) are
located.
The tree structure is available in the Advanced
view of LDC, see section 6.11 on page 66.
8.3. LW3 commands
8.3.1. Get command
The ‘GET’ command can be used to get the child nodes, properties and methods of a
specific node. It can also be used to get the value of a property.
The response format
The first two characters of a response unambiguously identify the type of the element that
the response line concerns. The first character is the type of the element (node, property
or method), the second is for miscellaneous information (e.g. read/write rights).
The defined prefixes are:
‘n-’: node
‘pr’: property - only readable
‘pw’: property - writable, readable
‘m-’: method executable
After the prefix, the response contains the full path of the node, property or method after a
space character.
Get all children of a node
Get all of the child nodes of a parent node, with one GET command.
Command format: GET[nodePath]
Response format: n-[nodePath]
Example:
> GET/MEDIA
< n-/MEDIA/VIDEO
< n-/MEDIA/AUDIO
< n-/MEDIA/UART
< n-/MEDIA/IR
< n-/MEDIA/ETHERNET