Reference 21
Agilent InfiniiVision 3000 X-Series Oscilloscopes User's Guide 329
Example Program for Reading Binary Data
To find an example program for reading binary data, direct your web
browser to "www.agilent.com/find/3000X-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.