Instructions
Chapter 2 Command System  RIGOL 
MSO5000 Programming Guide  2-225   
:WAVeform:MODE 
Syntax 
:WAVeform:MODE <mode> 
:WAVeform:MODE? 
Description 
Sets or queries the mode of the :WAVeform:DATA? command in reading data. 
Parameter 
Name 
Type 
Range 
Default 
<mode> 
Discrete 
{NORMal|MAXimum|RAW} 
NORMal 
Remarks 
  NORMal: reads the waveform data currently displayed on the screen. 
  MAXimum: reads the waveform data displayed on the screen when the oscilloscope 
is in the Run state; reads the waveform data in the internal memory when the 
oscilloscope is in the Stop state. 
  RAW: reads the waveform data in the internal memory. Note: The data in the 
internal memory can only be read when the oscilloscope is in the Stop state. You are 
not allowed to operate the instrument when it is reading data. 
  When the channel source is set to MATH, only the NORMal mode is valid. 
Return 
Format 
The query returns NORM, MAX, or RAW. 
Example 
:WAVeform:MODE RAW    /*Sets the reading mode of waveform data to RAW.*/ 
:WAVeform:MODE?            /*The query returns RAW.*/ 
:WAVeform:FORMat 
Syntax 
:WAVeform:FORMat <format> 
:WAVeform:FORMat? 
Description 
Sets or queries the return format of the waveform data. 
Parameter 
Name 
Type 
Range 
Default 
<format> 
Discrete 
{WORD|BYTE|ASCii} 
BYTE 
Remarks 
  WORD: Each waveform point occupies 2 bytes (16 bits). The lower 8 bits are valid 
and the higher 8 bits are 0. 
  BYTE: Each waveform point occupies one byte (8 bits). 
  ASCii: The query returns the actual voltage value of each waveform point in 
scientific notation; and the voltage values are separated by commas. 
Return 
Format 
The query returns WORD, BYTE, or ASC. 
Example 
:WAVeform:FORMat WORD      /*Sets the returned format of waveform data to WORD.*/ 
:WAVeform:FORMat?                /*The query returns WORD.*/ 










