struct SampleDatagram | |
{ | |
DatagramHeaderDgHeader; | |
char ChannelID[128]; | |
short Datatype; | |
char Spare[2]; | |
long Offset; | |
long Count; | |
byte Samples[]; | |
}; |
• | DatagramHeader DgHeader: This is the binary datagram in use. |
• | ChannelID[128]: This is the channel identification. |
• | Datatype:
|
• | Spare[2]: This is a parameter for future expansions |
• | Offset: This is the first sample number. |
• | Count: This is the total number of samples. |
• | Samples[]: These are the received sample values. The number of values in Samples[] depends on the value of Count and the Datatype.
The sample values S(i,n) are arranged as:
Real(S(1,1)), Imag(S(1,1)),
Real(S(2,1)), Imag(S(2,1)),
Real(S(3,1)), Imag(S(3,1)),
Real(S(4,1)), Imag(S(4,1)),
Real(S(1,2)), Imag(S(1,2)), ...
|
• | Bit 3 is set to "1", so this is ComplexFloat32 data. |
• | Bits 8 to 10 are 100, which means that we have four complex values per sample. |
• | The WBT transceiver and the channel must be running in echosounder mode. |
• | Selected pulse form for the channel is CW, continuous wave. |
• | The following options are selected in the Stored sample data for WBTs running CW in the File Setup page in the Output dialog box. Reduced sampling rate Power/angles samples (Further reduced file size), or Power/Angle samples (Reduced file size)
|
• | 1.24: New |