15
3D camera O3X1xx
UK
Parameter string encoding
Non-string parameters must be encoded in the following format.
Type
Stringified
bool
"true" / "false"
setParameter method also accepts "1"/"0", getter methods must always return
"true"/"false"
int
decimal ( e.g "-1234" / "1234" )
Values should be in the range of int32 (-2^31 .. 2^31)
double
English floating point notation (optional with exponent)
E.g. "1.2", ".3", "4.5e6", "-7E-8", "-inf", "nan"
Structured types (array or structs) can't be put into parameter storage in an general way. Encoding
of arrays must specified on specific parameters.
6.2 Main Object
getParameter
Method name
getParameter
Description
Getter for the device-global parameters.
This is an additional getter outside of edit sessions, so it is possible
to read device information without login.
Input parameters
Name of a device parameter: string
Output parameters
Value of the requested parameter: string
getAllParameters
Method name
getAllParameters
Description
Getter for the device-global parameters.
This is an additional getter outside of edit sessions, so it is possible
to read device information without login.
Input parameters
none
Output parameters
Struct (name contains the parameter name, value contains the
stringified parameter value)