Binary Header Format - Rigol MSQ7054 User Manual

Digital oscilloscope
Table of Contents

Advertisement

Chapter 18 Store and Load
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.
Cookie
Version
File Size
Number of
Waveforms
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.
Header Size
Waveform
Type
Number of
Waveform
Buffers
MSO7000/DS7000 User Guide
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.
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
A 4-byte integer, indicating the number of waveform buffers
required to read the data.
RIGOL
18-7

Advertisement

Table of Contents
loading

Table of Contents