Pd0 Output Data Format; Figure 46. Pd0 Standard Output Data Buffer Format - Teledyne WORKHORSE Operation Manual

Horizontal h-adcp
Hide thumbs Also See for WORKHORSE:
Table of Contents

Advertisement

May 2015

PD0 Output Data Format

The following description is for the standard PD0 H-ADCP output data format. Figure 47 through Figure
54 shows the ASCII and binary data formats for the H-ADCP PD0 mode. Table 35 through Table 45 de-
fines each field in the output data structure.
The binary output data formats are composed of at least one data type, i.e. a group of bytes all related by
their dynamic or field. For instance in the PD0 data format, variables that do not change during the de-
ployment are stored in the
except velocities, which dynamically change during the deployment are stored under the
data type of leader ID 8000h. This distinction is based on the dynamic; other distinctions are present
such as velocity types such as data type of leader ID 0001h which groups all the
data and leader ID 0006h stores all
en type for all depth cells and all beams before the next data type begins.
The advantage of using the leader ID is that one can simply scan for them as the binary data is received in
real time on the serial lines and then use the output data format description table to jump directly to the
desired data. The PD0 Header ID is 7F7Fh, which makes it easy to detect. In the PD0 Header are the
number of bytes in the ensemble, the number of data types and the offset respective to each data type lo-
cation in the binary ensemble. This gives you the choice between jumping down to the data type using the
offsets or detecting the data type ID after you have detected the header ID.
PD0 is the only binary output data format which provides a
ensemble since some data types presence in the PD0 output are dependent on commands parameters. For
example, if the number of Bottom Track pings is 0 (BP0), then there will be no Bottom track data type in
the ensemble. The table below shows which data types are always output against command dependable
data types:
ALWAYS OUTPUT
WD command
WP command
BP command
ALWAYS OUTPUT
Figure 46.
Page 198
EAR-Controlled Technology Subject to Restrictions Contained on the Cover Page.
Fixed Leader
data type of leader ID 0000h, whereas the dynamic variables,
Bottom Track Velocity
PD0 Standard Output Data Buffer Format
WorkHorse H-ADCP Operation Manual
Water Profile Velocity
data. The H-ADCP sends all the data for a giv-
Header
that describes the data included in the
HEADER
(6 BYTES + [2 x No. OF DATA TYPES])
FIXED LEADER DATA
(59 BYTES)
VARIABLE LEADER DATA
(65 BYTES)
VELOCITY
(2 BYTES + 8 BYTES PER DEPTH CELL)
CORRELATION MAGNITUDE
(2 BYTES + 4 BYTES PER DEPTH CELL)
ECHO INTENSITY
(2 BYTES + 4 BYTES PER DEPTH CELL)
PERCENT GOOD
(2 BYTES + 4 BYTES PER DEPTH CELL)
STATUS
(2 BYTES + 4 BYTES PER DEPTH CELL)
BOTTOM TRACK DATA
(85 BYTES)
RESERVED
(2 BYTES)
CHECKSUM
(2 BYTES)
Variable Leader

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents