SonTek/YSI
ADVField/Hydra Operation Manual (September 1, 2001) 103
unsigned char TempMode; /* 0- User value 1- Measured */
unsigned char VelRangeInd; /* Velocity range list index */
char SyncMode; /* 0-Disable; 1-Start; 2-Sample */
char CoordSystem; /* 0-Beam; 1-XYZ; 2-ENU */
unsigned int SampRate[3]; /* in units of 0.1 Hz */
unsigned int BurstInterval[3]; /* in s */
unsigned int SamplesPerBurst[3];
unsigned char RecordedData[3]; /* 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 */
/* Bit 5 - External analog sensors */
/* Bit 6 - External pressure sensor */
/* Bit 7 - Ctd or Lisst sensor */
char OutMode; /* 0-Auto; 1-Polled */
char OutFormat; /* 0-Binary; 1-Ascii */
char RecorderEnabled; /* 0-DISABLED; 1-ENABLED */
char RecorderMode; /* 0-NORMAL MODE; 1-BUFFER MODE */
char DeploymentMode; /* 0-Disabled; 1-enabled */
char DeploymentName[9]; /* */
DateTimeType BeginDeploymentDateTime; /* */
char CommentLine1[60];
char CommentLine2[60];
char CommentLine3[60];
char AutoSleep;
char Spare[7]; /* set to all 0s */
} AdvDeploymentSetupType;
The structure
DateTimeType
defines real-time clock date and time and is referenced in other
structures (8 bytes).
typedef struct {
int year;
char day,
month,
minute,
hour,
sec100,
second;
} DateTimeType;
The structure
DateType
defines the real-time clock data and is used in other structures (4 bytes).
typedef struct {
int year;
char day,
month,
} DateType;
The structure
BurstHeader
defines the burst header information (60 bytes).
typedef struct {
unsigned char SyncChar; /* 0xA5 */
unsigned char DataType; /* 0x10 */
unsigned int Nbytes; /* In header */
char SerialNumber[10]; /* of probe */
unsigned long BurstNumber; /* From start of data collection */
DateTimeType BurstTime; /* At the beginning of burst */
unsigned char VelRangeInd; /* Velocity range list index */
unsigned char Spare; /* Set to 0 */
unsigned int SampRate; /* in units of 0.1 Hz */
unsigned int SamplesPerBurst;