Pressure Systems 9816, 98RK user manual Read HIGH-SPEED Data Command b, Aaaabbbbcccc..rrrr

Models: 98RK 9816

1 159
Download 159 pages 52.35 Kb
Page 66
Image 66

Pressure Systems, Inc.

98RK-1 & 9816 User’s Manual©

 

 

READ HIGH-SPEED DATA (Command 'b')

Purpose: Returns the most recent scanned and averaged data from all channels of the module as fast as possible. Data is returned directly in its internal (IEEE single- precision float) binary form (as per implied format 7). It is used as a faster alternative to the Read High-Precision Data ('r') command, since 'b' does not have to parse the position or format parameters, nor does it have to transform or encode the internal data into any other format when the response is generated.

Command

b

 

‘b’ is the command letter

 

 

Response

aaaabbbbcccc..rrrr

 

 

each 4-byte datum (e.g, ‘aaaa’) is a non-human readable 32-bit (4-byte)

 

big-endian binary value (format 7) representing an IEEE single-precision

 

internal float value.

 

 

Description: Returns data for all of the module’s external plus internal channels, in order highest channel number to lowest channel number. Thus, the purge

(P)rack channel reading will always be the first 4-byte (32-bit binary, big- endian, IEEE floating-point) value (‘aaaa’) sent in the response. It is followed by similar values (‘bbbb’, ‘cccc’, ... ‘rrrr’) for the source air (S) rack channel, and then internal channels 16-1. Unless the EU conversion scalar is altered, the returned data will be in units of psi.

Example:

Send TCP/IP command to a Model 9816 module (via its “socket” connection) to return data as fast possible:

b

Data from the most recent scan of all the module’s channels are returned in pure binary form, 4-bytes per channel (big endian):

aaaabbbbcccc .. rrrrpppp

Note that this response is not shown within quotes “ ” since it is not a valid ASCII character string.

Page 58

www.PressureSystems.com

Page 66
Image 66
Pressure Systems 9816, 98RK user manual Read HIGH-SPEED Data Command b, Aaaabbbbcccc..rrrr, Aaaabbbbcccc .. rrrrpppp