RIGOL Chapter 2 Command System
2-220 MSO1000Z/DS1000Z Programming Guide
Set the return format of the waveform data to BYTE
Set the start point of waveform data reading to the
first waveform point
Set the stop point of waveform data reading to the
120000th waveform point (the last point)
Read the waveform data in the internal memory (all
the points)
Example 2 (read the internal memory waveform data in several
batches):
Assume that the memory depth of the oscilloscope is 300kpts and the return
format of the waveform data is WORD; at this point, the memory depth of the
oscilloscope is greater than the maximum number of waveform points that can be
read each time (125000) and you need to read all the waveform data in the
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.
The corresponding reading procedures are as follows.
Set the instrument to STOP state (you can only read
the waveform data in the internal memory when the
oscilloscope is in STOP state)
Set the channel source to CH1
Set the waveform reading mode to RAW
Set the return format of the waveform data to WORD
Perform the first reading operation
Set the start point of the first reading operation to the
first waveform point
Set the stop point of the first reading operation to the
125000th waveform point
Read the data from the first waveform point to the
125000th waveform point
Perform the second reading operation
Set the start point of the second reading operation to
the 125001th waveform point
Set the stop point of the second reading operation to
the 250000th waveform point
Read the data from the 125001th waveform point to
the 250000th waveform point
Perform the third reading operation
Set the start point of the third reading operation to
the 250001th waveform point
Set the stop point of the third reading operation to
the 300000th waveform point (the last point)
The first batch
(125000 waveform points
in total)
The second batch
(125000 waveform points
in total)
The third batch
(50000 waveform points
in total)