Chapter 18 Store and Load RIGOL
MSO7000/DS7000 User Guide 18-7
on like this until all the displayed channels are saved).
In BIN file format, the data are displayed as follows:
― CH1 data
― CH2 data
― CH3 data
― CH4 data
― Digital Channel Data
― Math Waveform Data
Binary Header Format
1. File Header
There is only one file header in a binary file. The file header contains the
following information.
Two-byte characters, RG, indicating that the file is the RIGOL
binary data file format.
Two bytes, indicating the file version.
A 4-byte integer, indicating the number of bytes in the file. It
includes the header.
A 4-byte integer, indicating the number of waveforms that are
stored in the file.
2. Waveform Header
It is possible to store several waveforms in the file. Each stored waveform has a
waveform header. When several channels are stored, each channel can be
considered as a separate waveform. The waveform header contains the
information about the type of waveform data that are stored following the
waveform data header.
A 4-byte integer, indicating the number of bytes in the
header.
A 4-byte integer, indicating the type of the waveform stored
in the file.
0 = Unknown
1 = Normal
2 = Peak Detection
3 = Average
4 = Not Used
5 = Not Used
6 = Logic
Number of
Waveform
Buffers
A 4-byte integer, indicating the number of waveform buffers
required to read the data.