RIGOL 2 Command System
2-320 DS2000E Programming Guide
:WAVeform:DATA?
Syntax
:WAVeform:DATA?
Description
Read the waveform data.
Explanation
Procedures for reading the screen waveform data:
S1. :WAV:SOUR CHAN1 Set the channel source of waveform data reading to CH1
S2. :WAV:MODE NORM Set the waveform data reading mode to NORMal
S3. :WAV:FORM BYTE Set the return format of the waveform data to BYTE
S4. :WAV:DATA? Read the screen waveform data
Procedures for reading the internal memory waveform data:
Tip:
When reading the waveform data from the internal memory, run the :WAV:DATA? command to
obtain the maximum number of waveform points that can be read for a single time. It is related to
the return format of the currently selected waveform data, as shown in the table below.
Return Format of the
Waveform Data
Maximum Number of Waveform Points that can
be Read for a Single Time
BYTE 250000
WORD 125000
ASCii 15625
Before reading the waveform data from the internal memory, you need to judge whether the
waveform data can all be read at one time or in batches according to the memory depth of the
oscilloscope and the maximum number of waveform points that can be read for a single time (refer
to the above table).
1) When the memory depth of the oscilloscope is smaller than or equal to the maximum number
of waveform points that can be read for a single time, the waveform data in the internal
memory can all be read at one time (specifying the start point and stop point).
2) When the memory depth of the oscilloscope is greater than the maximum number of
waveform points that can be read for a single time, the waveform data in the internal memory
need to be read in batches (specifying the start point and stop point). That is, each time, only
the waveform data in one area of the internal memory are read (the waveform data of two
neighbouring areas are continuous); then, you need to combine the waveform data that are
read separately in sequence.