•
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.
Table 20.2 File Header
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.
Table 20.3 Waveform Header
Header Size
Waveform Type
Number of
Waveform Buffers
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
Two-byte characters, RG, indicating that the file is the RIGOL
binary data file format.
Two-byte, indicating the file version.
An 8-byte long 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. It is fixed to 1.
- 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. It is fixed to 1.
Store and Load
DHO800 User Guide
207