Specifications
RIGOL 2 Command System
2-552 DS2000 Programming Guide
2-552
:WAVeform:DATA?
Syntax
:WAVeform:DATA?
Description
Read the waveform data.
Explanation
This command is affected by
the
:WAVeform:FORMat
, :WAVeform:MODE, :WAVeform:POINts, :WAVeform:SOU
Rce and related commands.
Procedures of the screen waveform data reading:
S1. :WAV:SOURce CHAN1 Set the channel source to be read
S2. :WAV:MODE NORM Set the waveform mode to NORM
S3. :WAV:DATA? Obtain data from buffer
Procedures of the internal memory waveform data reading:
S1. :STOP The internal memory waveform data can
only be read in STOP state
S2. :WAV:SOURce CHAN1 Set the channel source to be read
S3. :WAV:MODE RAW Set the waveform mode to RAW
S4. :WAV:RESet Reset the waveform reading
S5. :WAV:BEGin Start the waveform reading
S6. :WAV:STATus?
1) IDLE
:WAV:DATA?
:WAV: END
2) READ
:WAV:DATA?
Repeat S6
Get the state
Waveform reading thread finishes
Get data in buffer
Waveform reading finishes
Waveform reading thread is running
Get data in buffer
Continue to read waveform data
See the example below.
visa32.viPrintf(viSession, ":STOP\n");
visa32.viPrintf(viSession, ":WAV:MODE RAW\n");
visa32.viPrintf(viSession, ":WAV:SOURce %s\n", strChan );