• Math Wav
eform 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 19.2 File Header
Cookie
Two-byte characters, RG, indicating that the file is the RIGOL
binary data file format.
Version Two-byte, indicating the file version.
File Size
An 8-byte long integer, indicating the number of bytes in the
file. It includes the header.
Number of
Waveforms
A 4-byte integer, indicating the number of waveforms that are
stored in the file.
2. Waveform Header
It is possible to st
ore 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 19.3 Waveform Header
Header Size A 4-byte integer, indicating the number of bytes in the header.
Waveform Type
A 4-byte integer, indicating the type of the waveform stored in
the file. It is fixed t
o 1.
- 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. It is fixed to 1.
Store and Load
DHO1000 User Guide
220
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
www.calcert.com sales@calcert.com1.888.610.7664
0
5
10
15
20
25
30