Pressure Systems 9046 User Manual

Page 45

Advertising
background image

Pressure Systems, Inc. Model 9046 User’s Manual

Page 39

www.PressureSystems.com

5.6 Read Primary Transducer E. U. Data at High Speed (Command ’b’)

Purpose

:

Returns the most recent Primary Transducer E. U. data from all channels of the module as fast
as possible. Data is returned directly in its native internal (IEEE single-precision float) binary
form (i.e., as for format code 7 in other commands). It is used as a faster alternative to the

Read

High-Precision Data (‘r’) command, since ‘b’ does not have to parse any 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 operation code

Response

aaaabbbbcccc..pppp

Note that this response if not in quotes, because it
is a stream of binary bytes. Each 4-byte datum
(e.g, aaaa) is a non-human readable big-endian
value (format 7) representing an IEEE single-
precision internal float value.

Description

: Returns primary E.U. data for all of the module’s channels in order highest

channel number to lowest channel number. Thus channel #16 will always be the first 4-byte (32-
bit binary, big-endian, IEEE floating-point) value (’aaaa’) sent in the response. Any special
datum values

(e.g., 99999 or 88888) used to indicate out-of-range or erroneous calculations or

physical connections are re-scaled to lower values (e.g., 999.99 or 888.88) for this command
only.

Example

:

Command module to return all its primary transducer E. U. 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) of each internal IEEE float:

aaaabbbbcccc .. pppp

Advertising