Rigol MSO1000Z Series Programming Manual page 236

Digital oscilloscope
Hide thumbs Also See for MSO1000Z Series:
Table of Contents

Advertisement

RIGOL
2-220
S4. :WAV:FORM BYTE
S5. :WAV:STAR 1
S6. :WAV:STOP 120000
S7. :WAV:DATA?
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.
1 to 125000
The first batch
(125000 waveform points
in total)
The corresponding reading procedures are as follows.
S1. :STOP
S2. :WAV:SOUR CHAN1
S3. :WAV:MODE RAW
S4. :WAV:FORM WORD
Perform the first reading operation
S5. :WAV:STAR 1
S6. :WAV:STOP 125000
S7. :WAV:DATA?
Perform the second reading operation
S8. :WAV:STAR 125001
S9. :WAV:STOP 250000
S10. :WAV:DATA?
Perform the third reading operation
S11. :WAV:STAR 250001
S12. :WAV:STOP 300000
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)
125001 to 250000
The second batch
(125000 waveform points
in total)
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
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
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
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)
MSO1000Z/DS1000Z Programming Guide
Chapter 2 Command System
250001 to 300000
The third batch
(50000 waveform points
in total)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents