Pressure Systems, Inc. Model 9046 User’s Manual
Page 57 www.PressureSystems.com
5.7.6 Command ’c’ - Sub-command Index 05: Select Prefix/Data Groups in a
Stream
This sub-command sets additional options that cause an already defined stream to deliver a
specific prefix and/or other groups of data to the host. By default, only the Primary Transducer
(i.e., Temperature/ Resistance) E. U. data (and no prefix) are delivered for the
channels and
format currently specified by the pre-requisite "c 00" sub-command for that stream.
Command
“c 05 st bbbb”
‘c’ is the operation code
‘05’ is the sub-command index (‘ii’) for Select
Prefix/Data Groups.
‘st’ is the stream id digit (1, 2, or 3 only)
‘ bbbb’ is a hex option field (bit map) to select which
prefix/data group options will be returned in the data
stream (see table below)
NOTE: all parameters are separated by a space
character.
Response
“A” or “Nxx”
‘A’ for acknowledge; ‘N’ for negative acknowledge,
error code xx.
Description: If this sub-command is never executed for a particular stream, then Primary
Transducer (i.e., Temperature/Resistance)
EU Data are delivered (by default) in that stream
following the fixed format binary header (
tssss as described by the “01” sub-command).
However, this sub-command may also
delete these default data from a stream (by not
specifying them) as well as
add other selected acquired data groups to a stream (by specifying
them).
The
bit map values (shown in the following table) may be added together to specify all the
actual data groups that will be delivered in each scan of the specified stream. The first two table
entries, if their “bits” are specified, will cause two-byte binary (16-bit, big endian)
status values
to be delivered in the stream scan (immediately following the binary stream header). The third
table entry, if specified, will cause the
Primary Transducer (i.e., Temperature/Resistance) EU
Data
to be delivered (next), per the specified pre-requisite ‘c 00’ sub-command’s format (f), and
for just the channels specified in that sub-command. The remaining table entries will cause
other
special data groups (i.e., Primary Transducer data in counts or volts, and Other
Transducer (UTR Temp./Volts) in EU, A/D counts, or voltage forms) to also be delivered in each
stream scan. Each of these
special data groups is also output in the order of its table entry
(within the scan) if its “bit” is specified. Each group will also have a datum per the specified
channels, and be in the specified format.