346 6000 Series Oscilloscope User’s Guide
8 Reference
Binary Data (.bin)
The binary data format stores waveform data in binary format
and provides data headers that describe that data.
Because the data is in binary format, the size of the file is
approximately 5 times smaller than the XYPairs format.
If more than one source is on, you will save all displayed
sources, except math functions, to a file.
When the oscilloscope is in the Peak Detect acquisition mode,
the minimum and maximum value waveform data points are
saved to the file in separate waveform buffers. The minimum
value data points are saved first; then, the maximum value data
points are saved.

Binary Data in MATLAB

Binary data from the 6000 Series oscilloscope can be imported
to The MathWorks MATLAB®. You can download the
appropriate MATLAB functions from the Agilent Technologies
web site at www.agilent.com/find/mso6000sw.
Agilent provides the .m files, which need to be copied into the
work directory for MATLAB. The default work directory is C:\
MATLAB7\work.

Binary Header Format

File Header

There is only one file header in a binary file. The file header
consists of the following information.
Cookie Two byte characters, AG, that indicate the file is in the
Agilent Binary Data file format.
Versio n Two bytes that represent the file version.