Instructions

RIGOL Chapter 2 Command System
2-180 DS1000Z-E Programming Guide
internal memory in at least 3 batches (300000/125000=2.4).
When reading the waveform data in batches, note that the number of waveform
points in the internal memory that is read each time (namely, stop point - start
point + 1) cannot be greater than the maximum number of points that can be
read each time (in this example, it is 125000); then, you need to combine the
waveform data that are read separately in sequence. The figure below shows an
example of the start point and stop point settings when reading the above
waveform data in the internal memory in 3 batches.
1 to 125000 125001 to 250000 250001 to 300000
The corresponding reading procedures are as follows.
S1. :STOP
Set the instrument to STOP state (you can only read
the waveform data in the internal memory when the
oscilloscope is in STOP state)
S2. :WAV:SOUR CHAN1
Set the channel source to CH1
S3. :WAV:MODE RAW
Set the waveform reading mode to RAW
S4. :WAV:FORM WORD
Set the return format of the waveform data to WORD
Perform the first reading operation
S5. :WAV:STAR 1
Set the start point of the first reading operation to the
first waveform point
S6. :WAV:STOP 125000
Set the stop point of the first reading operation to the
125000th waveform point
S7. :WAV:DATA?
Read the data from the first waveform point to the
125000th waveform point
Perform the second reading operation
S8. :WAV:STAR 125001
Set the start point of the second reading operation to
the 125001th waveform point
S9. :WAV:STOP 250000
Set the stop point of the second reading operation to
the 250000th waveform point
S10. :WAV:DATA?
Read the data from the 125001th waveform point to
the 250000th waveform point
Perform the third reading operation
S11. :WAV:STAR 250001
Set the start point of the third reading operation to
the 250001th waveform point
S12. :WAV:STOP 300000
Set the stop point of the third reading operation to
the 300000th waveform point (the last point)
S13. :WAV:DATA?
Read the data from the 250001th waveform point to
the 300000th waveform point (the last point)
Finally, combine the data read in the 3 reading operations in sequence.
Return
Format
The return format is related to the return format of the waveform data currently
selected (
:WAVeform:FORMat).
WORD or BYTE format: the data returned consists of 2 parts, including the TMC
data description header and the waveform data. The format of the TMC data
description header is #NXXXXXXXXX; wherein, # is the denoter, N is 9 and the 9
data following it denote the number of bytes of the waveform data. The TMC data
description header is followed by the waveform data.
ASCii format: the query returns the actual voltage value of each waveform point in
scientific notation; the voltage values are separated by ",".
When reading the waveform data in the internal memory in several batches, the
The first batch
(125000 waveform points
in total)
The second batch
(125000 waveform points
in total)
The third batch
(50000 waveform points
in total)