![Luna ODiSI 6 User Manual Download Page 91](http://html1.mh-extra.com/html/luna/odisi-6/odisi-6_user-manual_1949788091.webp)
ODiSI 6
ODiSI 6
User’s Guide
Page 90
Product Name and Serial Number
The Tare Message includes a product name and a system serial number, allowing the client
program to receive data from multiple ODiSI units. Each ODiSI will transmit its own Metadata
Message containing an identifying system serial number. The system serial number in the
Tare Message allows the client to determine which ODiSI unit the measurement data is from.
“Data” Element
The “data” element of the Tare Message contains an array of decimal gage values, formatted
as human-readable ASCII text. The gage values are transmitted in the same order in which
they are defined in the metadata message. Individual gages are defined and transmitted first,
followed by segment vectors.
The JSON value null will be used to indicate a NaN, or “not a number” value. (Under certain
conditions, the ODiSI may not be able to calculate a strain or temperature value for a certain
gage. In these events, the ODiSI reports NaN as the gage value.)
Number of Gages
The element “number of gages” indicates the length of the “data” array. This value should be
the same as the total number of gages defined in the “gages” and “segments” section in the
Metadata Message,
and the same as the “number of gages” field in the Measurement
Message. It is included as a sanity check.
The Measurement Message header contains the following information, formatted as JSON
name/value pairs.
Table 8-6 OMSP Tare Message header
Description
JSON name
Value
Message type
”message type”
String “tare”
Message format
version
“message version”
Integer. 2 is the current
ODiSI version.
Product
“product”
String Ex: “ODiSI 6000”.
System serial number
“system serial number”
String
Channel
“channel”
Integer. Should match one of
the “channel” fields in the
“sensors” array of the
Metadata Message.
1 - 8 for ODiSI 6.
Number of gages
“number of gages”
Integer
Data
“data”
Array of decimal numbers.
The JSON value
null
indicates NaN.