Waveform:format; Waveform:data - Rigol DS7034 User Programming Manual

Mso7000 series; ds7000 series; digital oscilloscope
Hide thumbs Also See for DS7034:
Table of Contents

Advertisement

RIGOL
Remarks
NORMal: reads the waveform data currently displayed on the screen.
MAXimum: reads the waveform data displayed on the screen when the oscilloscope
is in the Run state; reads the waveform data in the internal memory when the
oscilloscope is in the Stop state.
RAW: reads the waveform data in the internal memory. Note: The data in the
internal memory can only be read when the oscilloscope is in the Stop state. You are
not allowed to operate the instrument when it is reading data.
When the channel source is set to MATH, only the NORMal mode is valid.
Return
The query returns NORM, MAX, or RAW.
Format
Example
:WAVeform:MODE RAW /*Sets the reading mode of waveform data to RAW.*/
:WAVeform:MODE?

:WAVeform:FORMat

Syntax
:WAVeform:FORMat <format>
:WAVeform:FORMat?
Description
Sets or queries the return format of the waveform data.
Parameter
Name
<format>
Remarks
Return
The query returns WORD, BYTE, or ASC.
Format
Example
:WAVeform:FORMat WORD
:WAVeform:FORMat?

:WAVeform:DATA?

Syntax
:WAVeform:DATA?
Description
Reads the waveform data.
Remarks
Procedures of reading the waveform data on the screen:
Procedures of reading the waveform data in the internal memory:
2-226
/*The query returns RAW.*/
Type
Discrete
WORD: Each waveform point occupies 2 bytes (16 bits). The lower 8 bits are valid
and the higher 8 bits are 0.
BYTE: Each waveform point occupies one byte (8 bits).
ASCii: The query returns the actual voltage value of each waveform point in
scientific notation; and the voltage values are separated by commas.
S1. :WAV:SOUR CHAN1
S2. :WAV:MODE NORMal
S3. :WAV:FORM BYTE
S4. :WAV:DATA?
S1. :WAV:SOUR CHAN1
Range
{WORD|BYTE|ASCii}
/*Sets the returned format of waveform data to WORD.*/
/*The query returns WORD.*/
Sets the channel source to CH1.
Sets the waveform reading mode to NORMal.
Sets the return format of the waveform data to
BYTE.
Reads the waveform data on the screen.
Sets the channel source to CH1.
Chapter 2 Command System
Default
BYTE
MSO7000/DS7000 Programming Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds7054Ds7024Ds7014Mso7034Mso7024Mso7014 ... Show all

Table of Contents