Gocator Snapshot Sensors: User Manual
Protocols • 465
Message Format
Where data is the delimited data for the passed length.
Examples:
Command: getvars,0,4
Reply:OK,1,2,3,4
Data Channel
The following sections list the actions available on the data channel.
Optional parameters are shown in italic. The placeholder for data is surrounded by brackets (<>). In the
examples, the delimiter is set to ','.
Result
The Result command retrieves measurement values and decisions.
Message Format
Command Result,measurement ID,measurement ID...
Reply If no arguments are specified, the custom format data string is used.
OK, <custom data string> ERROR, <Error Message>
If arguments are specified,
OK, <data string in standard format>
ERROR, <Error Message>
Formats
Examples:
Standard data string for measurements ID 0 and 1:
Result,0,1
OK,M00,00,V151290,D0,M01,01,V18520,D0
Standard formatted measurement data with a non-existent measurement of ID 2:
Result,2
ERROR,Specified measurement ID not found. Please verify your input
Custom formatted data string (%time, %value[0], %decision[0]):
Result
OK,1420266101,151290,0