41
Binary Mode
If binary mode is chosen, a single byte, 0x00, will be returned, as a
command acknowledgment. If a command generated an error, then a
single byte will be returned in place of the acknowledgment byte. See
the end of this section for a list of error codes. Each reading returns
two bytes. The most significant byte is returned first. Flow rate and
pressure data are returned as an unsigned integer (0 to 65535) that
has been multiplied by 100. Temperature data is returned as a signed
integer (-32768 to 32767) that has been multiplied by 100. To convert
the returned data, back to its original form, divide the data by 100.
Binary transfers terminate, by returning two bytes, in the form 0xFF
0xFF. Check the first reading in each block of data returned (flow,
temperature, and pressure), from the unit, for the terminating
sequence. No termination sequence will be sent if an error condition
occurred. Special note: a temperature reading of–0.01°C would be
transmitted as 0xFF 0xFF and could signal an early termination if flow
readings were disabled.
Data Acquisition for flow, temperature, and pressure
If no begin-trigger is set, the data acquisition begins immediately
upon processing of the command. If a begin-trigger is set (set with
SBTx
±nnn.nn), the data acquisition begins as soon as the begin-
trigger condition is detected. If no end-trigger is set, nnnn samples will