MMX6x2-HT
User’s Manual
Section 8. LW3 Programmers’ reference Page 83 / 119
Error response format:
If there were errors during the execution, an error message is received, which follows the
method name.
mE[nodePath]:[methodName]%EXXX:Error message
Example:
> CALL/EDID:switch(F46:R1)
< mE/EDID:switch %E004:Invalid value
8.3.4. Manual
For every node, property and method in the tree there is a manual. The manual is a human-
readable text that describes the syntax and provides a hint for how to use the primitives.
Command format:
for nodes: MAN[nodePath]
for property: MAN[nodePath].[propertyName]
for method: MAN[nodePath]:[methodName]
Response format:
The human readable manual is separated by a space (‘ ‘) character from the primitives.
for nodes: nm[nodePath]Human readable manual
for properties: pm[nodePath].[propertyName]Human readable manual
for methods: mm[nodePath]:[methodName]Human readable manual
Example: (for a property)
> MAN/SYS/MB/RS232/Local.ActiveProtocol
< pm/SYS/MB/RS232/Local.ActiveProtocol ["LW2" | "LW3"] Active
Protocol
Example: (for a method)
> MAN/SYS/MB/RS232/Local:factoryDefaults
< mm/SYS/MB/RS232/Local:factoryDefaults [] Restore factory
default settings
8.3.5. Signature
For some command, the response can contain multiple lines. Each line is terminated with
a carriage return (Cr, ‘\r’) and line feed (Lf, ‘\n’) characters. In several cases the number of
the lines in the response cannot be determined in advance, e.g. the client is intended
waiting for the whole response and also wants to be sure, that the received lines belong
together and to the same command. In these cases, a special feature the ‘signature’ can
be used.
The signature is a four digit long hexadecimal value that can be optionally placed before
every command. In that case, the response to that particular command will also be
preceded by the signature, and the corresponding lines will be between brackets.
Command format: XXXX#[command]
Legend: xxxx: 4-digit long hexadecimal value.
Response format:
{XXXX
[command lines]
}