Rigol MSO1000Z Series Programming Manual page 237

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

Advertisement

Chapter 2 Command System
Return
Format
Related
:WAVeform:MODE
Commands
:WAVeform:YINCrement?
:WAVeform:YREFerence?
:WAVeform:YORigin?
MSO1000Z/DS1000Z Programming Guide
S13. :WAV:DATA?
Finally, combine the data read in the 3 reading operations in sequence.
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 ",".
Note: If the channel source of waveform data reading (:WAVeform:SOURce) is
set to an digital channel (D0 to D15), the query always returns the waveform data
in BYTE format. If the waveform data on the screen is read, the signal status of
the channel source currently selected is returned and a waveform point occupies
one byte (8 bits). If the waveform data in the internal memory is read, the signal
statuses of the channel group (D7 to D0 or D15 to D8; 8 digital channels) which
includes the channel source currently selected are returned; one byte represents
the statuses of a group of digital signals and the data represents the statuses of
D7 to D0 (or D15 to D8) respectively from the highest bit to the lowest bit.
When reading the waveform data in the internal memory in several batches, the
data returned each time is the data in one area in the internal memory. Each of
the data returned contains the TMC data description header (WORD or BYTE
format) and the waveform data from two adjacent areas are continuous.
The figure below shows the waveform data read (in BYTE format). First, select
"View as hexadecimal only" in the dropdown list at the right side. At this point, the
waveform data read is displayed in hexadecimal form with the first 11 bytes being
the TMC data description header and the others starting from the 12
(namely 8E) being the waveform data. Users can convert the waveform data read
to the voltage value of each waveform point using (0x8E - YORigin -
YREFerence) x YINCrement.
TMC Data Description Header Data Display Type
Waveform Data
Read the data from the 250001th waveform point to
the 300000th waveform point (the last point)
RIGOL
th
byte
2-221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents