•
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 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
A 4-byte 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 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 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.
0 = Unknown
1 = Normal
2 = Peak Detection
3 = Average
4 = Not Used
5 = Not Used
6 = Logic
Store and Load
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
HDO1000 User Guide
217