![Luna ODiSI 6 User Manual Download Page 90](http://html1.mh-extra.com/html/luna/odisi-6/odisi-6_user-manual_1949788090.webp)
ODiSI 6
ODiSI 6
User’s Guide
Page 89
Data
“data”
Array of decimal numbers.
The
JSON
value
null
indicates NaN.
Quality factor
“quality factor”
Array of decimal numbers
The JSON portion of the message is followed by a 16 bit CRC-16-ANSI (0x8005) checksum,
encoded as a 4-character hexadecimal number. The checksum is calculated over the entire
length of the JSON text, beginning with the starting curly brace and including up through the
carriage return plus line feed after the closing curly brace of the JSON text.
The checksum is followed by a single NULL character to mark the end of the Measurement
Message transmission.
Example
{
"message type": "measurement",
"message version": 1,
"product": "ODiSI 6",
"system serial number": "2017ODB10032",
"sequence number": 125,
"year": 2017,
"month": 1,
"day": 13,
"hours": 13,
"minutes": 23,
"seconds": 14,
"milliseconds": 56,
"time zone": "EST UTC-5",
"channel": 1,
"number of gages": 4,
"data": [ 805, -754.5, null, 901 ]
"quality factor": [ 0.3544, 0.384, 0.367, 0.391 ]
}AF37
Tare Message
Contents
The Tare Message contains the value of the tare that was applied to the measurement. It is
provided for informational purposes but is not necessary for interpreting the measurement
values.
The Tare Message contains the tare value for a single sensor. One Tare Message is sent for
each active channel in the test.
The Tare Message is formatted as human readable UTF-8 text, using JSON formatting. A
carriage return plus line feed (\r\n) follows the closing curly brace of the JSON text. A CRC-
16-ANSI (0x8005) checksum (encoded as 4 hexadecimal characters) follows the carriage
return plus line feed. A NULL character follows the checksum and marks the end of the
message.