Measurement Specialties 9116 Scanner User Manual


 
Pressure Systems, Inc. Model 9116 User’s Manual
Page 45 www.PressureSystems.com
READ HIGH-SPEED DATA (Command ‘b’)
Purpose: Returns the most recent scanned/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
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 value (format 7) representing an IEEE single-precision internal
float value.
Description: Returns data for all of the module’s channels, in order highest channel number to
lowest channel number. Thus for a Model 9116, channel #16 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 for lower numbered channels.
Unless the EU conversion scalar is altered, the returned data will be in units of
psi.
Example:
Send command to a 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 .. rrrr
Note that this response is not shown within quotes “ ” since it is not a valid ASCII
character string