SonTek/YSI
104
ADVField Operation Manual (September 1, 2001)
char CoordSystem; /* 0-Beam; 1-XYZ; 2-ENU */
char RecordedData; /* Data included in time series */
/* Bit 0 - Amp/Corr for 3 beams */
/* Bit 1 - Compass data */
/* Bit 2 - Temp/Press data */
/* Bit 4 - Time series statistics */
unsigned int SoundSpeed; /* in 0.1 m/s units */
int BoundaryRange; /* in 0.1 mm */
int VolumeBoundaryRange;/* in 0.1 mm */
unsigned char Status[20]; /* System variables(TroubleShooting)*/
} BurstHdrType;
The structure
AdvStatType
defines the burst statistics data (36 bytes).
typedef struct {
unsigned char MeanAmp[3]; /* in counts for the 3 beams */
unsigned char MeanCorr[3]; /* in counts for the 3 beams */
int MeanHeading; /* in 0.1 deg */
int MeanPitch; /* in 0.1 deg */
int MeanRoll; /* in 0.1 deg */
int MeanTemp; /* in 0.01 deg */
long MeanPress; /* in counts 0-4095 */
unsigned char StdAmp[3]; /* in counts for the 3 beams */
unsigned char StdCorr[3]; /* in counts for the 3 beams */
int StdHeading; /* in 0.1 deg */
int StdPitch; /* in 0.1 deg */
int StdRoll; /* in 0.1 deg */
int StdTemp; /* in 0.01 deg */
int StdPress; /* in counts, 0-4095 */
unsigned int SoundSpeed; /* in 0.1 m/s */
} AdvStatType;
The exact structure used to record each sample depends on the settings of the data recording op-
tions:
RecordAmpCorr
,
RecordCompass
,
RecordSensor
, etc. See ยง3.7 for information about
these options. Table 24 provides information on the size, and the order in which data are re-
corded when a parameter has been selected for recorded (i.e., record option set to when, and in
which order, data are recorded, for all possible combinations of these variables. The defined
structure for each data type is given at the end of this section.
Table 24. Data Recording Order Based on Selected Parameters
Order Structure When Recorded Bytes
1 Velocity Always 6
2 MeanAmpCorr Always 2
3 AllAmpCorr RecordAmpCorr=YES 6
4 Compass RecordCompass=YES 6
5 TempPressure RecordSensor=YES 4
6 ExtSensor RecordExtSensor=YES 4
7 ExtPress RecordExtPress=YES 3
8
CTD or
LISST
RecordCTD=YES or
RecordLisst=YES
CTD dependent
80 char
9 Statistics RecordStat=YES 36