SonTek/YSI
ADVField Software Manual (September 1, 2001) 68
Probe Configuration Structure (254 bytes)
typedef struct {
unsigned char Spare[10];
char SerialNum[6];
unsigned char Bpar[226];
float Fpar[3]
} ProbeConfType;
Date / Time Structure (referenced above) (8 bytes)
typedef struct {
int year;
char day,
month,
minute,
hour,
sec100,
second;
} DateTimeType;
A2.1.2 Data Sample, Event Counter, and Analog Input Module Structures
An ADV data sample includes one to three structures based on which optional sensors are in-
stalled: ADV data structure, compass structure, and sensor structure. The optional sensors are
available only with the ADVField. The data sample can take one of the four forms shown below.
No Sensors Installed (18 bytes)
• ADV data structure
Compass Installed (24 bytes)
• ADV data structure
• Compass structure
Temperature and/or Pressure Installed (24 bytes)
• ADV data structure
• Sensor structure
• External sensors structure
Compass Installed and Temperature and/or Pressure Installed (30 bytes)
• ADV data structure
• Compass structure
• Sensor structure
The exact form of each of the three structures is shown below its C language definition.
ADV Data structure (18 bytes)
typedef struct {
float XYZVel[3]; /* x/y/z vel in m/s */
unsigned char Amp[3]; /* Log of signal Amp */
unsigned char Cm[3]; /* Correlation Score 0-100 */
} AdvDatType;