Set Command; Invocation - Lightware HDMI-3D-OPT-TX210A User Manual

Fiber optical multimedia extender
Hide thumbs Also See for HDMI-3D-OPT-TX210A:
Table of Contents

Advertisement

 
7. LW3 Programmer's Reference
Example:
˃ GETALL /EDID
˂ n- /EDID/F
˂ n- /EDID/D
˂ n- /EDID/U
˂ n- /EDID/E
˂ pr /EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
˂ m- /EDID:switch
˂ m- /EDID:switchAll
˂ m- /EDID:copy
˂ m- /EDID:delete
˂ m- /EDID:reset
7.3.2. Set Command
The setter command can be used to modify the value of a property.
Command format:
SET●[nodePath].[propertyName]=[newPropertyValue]
Response format:
The response for setting a property to a new value is the same as the response for the 'GET' command. The
value in the response is the new value if the execution of the 'SET' command was successful, otherwise the
unmodified 'old value' with an error message.
pw●[nodePath].[propertyName]=[newPropertyValue]
Example:
˃ SET /SYS/MB/RS232/LOCAL.Rs232Mode=1
˂ pw /SYS/MB/RS232/LOCAL.Rs232Mode=1
Error response format:
If there were errors during setting a property, an error message follows the unmodified property value.
pE●[nodePath].[propertyName]=[umodifiedValue]●%EXXX:Error message
Legend:
XXX: error number.
Examples:
˃ SET /SYS/MB/RS232/LOCAL.Rs232Mode=11
˂ pE /SYS/MB/RS232/LOCAL.Rs232Mode %E005:Invalid value
˃ SET /SYS/MB/RS232/LOCAL.ActiveProtocol=LW3
˂ pE %E004:Writing read-only property
HDMI-3D-OPT series – User's Manual
7.3.3. Invocation
A method can be invoked with the help of the 'CALL' command.
Command format:
CALL●[nodePath]:[methodName]([parameter])
Response format:
The response for a method execution is a state and a value. The state is mandatory and always defined if
the method could be executed. It can be either a success or a failure. The value is optional and it can contain
additional information, such as the reason why the state is a failure or a specific value when the state is
success that the client can process. It is also possible to get an error message when the method could
not be executed – e.g. the parameter was illegal - and hence not even the state of the execution could be
specified.
mX●[nodePath]:[methodName]=Y
Legend:
X can be:
'O':
'F':
'E':
Y can be:
Example:
˃ CALL /EDID:switch(D1:E1)
˂ mO /EDID:switch
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(D1:R1)
˂ mE %E001:Syntax error
if the execution is successful.
if the execution is failed, but the method could be executed.
if the method could not be executed: e.g. illegal parameter count.
The return value of the method if any.
It is valid that a method does not have any return value. In this case, the
equal sign ('=') can be omitted.
54

Advertisement

Table of Contents
loading

Table of Contents