RIGOL Chapter 2 Command System
2-218 MSO1000Z/DS1000Z Programming Guide
:WAVeform:MODE
:WAVeform:MODE <mode>
:WAVeform:MODE?
Set or query the reading mode used by :WAVeform:DATA?.
 NORMal: read the waveform data displayed on the screen.
 MAXimum: read the waveform data displayed on the screen when the instrument is
in the run state and the waveform data in the internal memory in the stop state.
 RAW: read the waveform data in the internal memory. Note that the waveform data
in the internal memory can only be read when the oscilloscope is in the stop state
and the oscilloscope cannot be operated during the reading process.
 If the MATH channel is selected, only the NORMal mode is valid.
The query returns NORM, MAX, or RAW.
:WAVeform:MODE RAW /*Set the reading mode to RAW*/
:WAVeform:MODE? /*The query returns RAW*/
:WAVeform:FORMat
:WAVeform:FORMat <format>
:WAVeform:FORMat?
Set or query the return format of the waveform data.
 WORD: a waveform point occupies two bytes (namely 16 bits) in which the lower 8
bits are valid and the higher 8 bits are 0.
 BYTE: a waveform point occupies one byte (namely 8 bits).
 ASCii: return the actual voltage value of each waveform point in scientific notation.
The voltage values are separated by commas.
The query returns WORD, BYTE, or ASC.
:WAVeform:FORMat WORD /*Set the return format to WORD*/
:WAVeform:FORMat? /*The query returns WORD*/