Get All Child Nodes, Properties And Methods Of A Node; Set Command - Lightware MODEX-OPTS-TX User Manual

Hide thumbs Also See for MODEX-OPTS-TX:
Table of Contents

Advertisement

8.2.3. Get all child nodes, properties and methods of a node

Get all child nodes, properties and methods of a node with one command, without using a
wildchar.
Command format: GETALL●[nodePath]
Response format: (for nodes)
n-●[nodePath]
Response format: (for properties)
pX●[nodePath].[propertyName]=[parameter]
Legend:
Response format: (for methods)
m-●[nodePath]:[methodName]
Example:
Info: The command does not list child nodes and properties of listed child nodes, only that
belongs
/MANAGEMENT/NETWORK is not listed in this example, those can be queried if
'GETALL●/MANAGEMENT/NETWORK' is run.

8.2.4. 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 'GET'
command. The value in the response is the new value if the execution of 'SET' command
was successful, otherwise the unmodified 'old value' with an error message.
pw●[nodePath].[propertyName]=[newPropertyValue]
Example:
Error response format:
If there were errors during setting a property, an error message follows the unmodified
property value. Find the error numbers in section
pE●[nodePath].[propertyName]=[umodifiedValue]●%EXXX:Error message
Legend:
Section 8. Programmer's reference
X can be:
'r':
read-only
'w':
read-write
> GETALL●/MANAGEMENT
< n-●/MANAGEMENT/NETWORK
< n-●/MANAGEMENT/STATUS
< n-●/MANAGEMENT/LOCK
< n-●/MANAGEMENT/LOG
< pr●/MANAGEMENT.rebootNeeded=false
< pw●/MANAGEMENT.WebEnvironment=
< m-●/MANAGEMENT:Udc
< m-●/MANAGEMENT:Msg
to
the
node
directly.
> SET●/MANAGEMENT/NETWORK.PortNumber=6107
< pw●/MANAGEMENT/NETWORK.PortNumber=6107
XXX: error number (see section
MODEX-OPTS, MODEX-OPTM
E.g.
the
child
nodes
8.1.3
on page 61.
8.1.3
on page 61).
User's Manual
and
properties
of
Page 63 / 90

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MODEX-OPTS-TX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Modex-opts-rxModex-optm-txModex-optm-rx

Table of Contents