Page
122 of 133
Version 3.0 Rev r000
Date 25-08-2010
Part No. 96000001
// section S1: 16-bit snippet data (for network efficiency packet may contain several of these sections)
// (supports snippets up to 32K samples by fragmenting at the IP level rather than by the application like 81xx)
u16 S1_SectionName; // 'S1'
u16 S1_SectionSize; // [bytes] size of this entire section
u32 S1_PingNumber; // pings since power-up or reboot
u16 S1_SnippetNumber; // snippet number, 0 to H0_Snippets-1
u16 S1_Samples; // number of samples in this snippet, sample rate is H0_RxSampleRate
u32 S1_FirstSample; // first sample of this snippet relative to zero range, sample rate is H0_RxSampleRate
f32 S1_Angle; // [radians] angle of this snippet, relative to array centerline
f32 S1_ScalingFactorFirst; // scaling factor at start of snippet, 0=ignore, use linear interpolation to get other values
f32 S1_ScalingFactorLast; // scaling factor at end of snippet, 0=ignore
u32 S1_reserved; // reserved for future use
u16 S1_Magnitude[S1_Samples]; // [Magnitude] = S1_Magnitude[n] * (linear interpolate between S1_ScalingFactorFirst and
S1_ScalingFactorLast)
u16 S1_unused[S1_Samples & 1]; // ensure 32-bit section size
// *** END PACKET: SNIPPET FORMAT 0 ***