User`s guide
266 Agilent InfiniiVision 2000 X-Series Oscilloscopes User's Guide
20 Reference
Waveform Data
Header
A waveform may have more than one data set. Each waveform data set
will have a waveform data header. The waveform data header consists of
information about the waveform data set. This header is stored
immediately before the data set.
Example Program for Reading Binary Data
To find an example program for reading binary data, direct your web
browser to "www.agilent.com/find/2000X-Series- sw", and select "Example
Program for Reading Binary Data".
Examples of Binary Files
Single
Acquisition
Multiple Analog
Channels
The following picture shows a binary file of a single acquisition with
multiple analog channels.
Waveform Data
Header Size
A 32-bit integer that is the size of the waveform data header.
Buffer Type A 16-bit short that is the type of waveform data stored in the file:
• 0 = Unknown data.
• 1 = Normal 32-bit float data.
• 2 = Maximum float data.
• 3 = Minimum float data.
• 4 = Not used in InfiniiVision oscilloscopes.
• 5 = Not used in InfiniiVision oscilloscopes.
• 6 = Digital unsigned 8-bit char data (for digital channels).
Bytes Per Point A 16-bit short that is the number of bytes per data point.
Buffer Size A 32-bit integer that is the size of the buffer required to hold the data points.