SonTek/YSI
ADVField Software Manual (September 1, 2001) 69
Compass structure (6 bytes)
typedef struct {
int Heading; /* In 0.1 deg */
int Pitch; /* In 0.1 deg */
int Roll; /* In 0.1 deg */
} CompDatType;
Sensor structure (6 bytes)
typedef struct {
int Temp; /* In 0.1 deg */
float Press; /* In dbar */
} SensorDatType;
The following 2-byte structure (EventCounterType) is used to store the event counter.
typedef struct {
unsigned int EventCounter; /* Counter starts at 0 */
} EventCounterType;
The following 16-byte structure (AnalogDatType) is used to store the optional analog input mod-
ule data.
typedef struct {
int Analog[8]; /* In counts (0-4095) */
} AnalogDatType;