beautypg.com

Waveform:format, Waveform:data – RIGOL DS1000B User Manual

Page 82

background image

RIGOL

Command Systems

Programming Guide for DS1000B Series

2-70

1. :WAVeform:FORMat

Command Format:
:WAVeform:FORMat
:WAVeform:FORMat?

Function:
The command sets the format of waveform data. The may be WORD,
BYTE or ASCii.
Difference of WORD, BYTE and ASCii:
ASCii: Returns ASCII values when data ware transformed into character.
Eg: Waveform data is 1000, returns ’1’,’0’,’0’,’0’, a point correspond many bytes.
BYTE and WORD: They will returns 8 bit and 16 bit values to use datum.
Eg: Waveform data is 1000, returns 1000 in decimal system, a point correspond
one byte.

Returned Format:
The query returns WORD or BYTE, ASCii.

Example:
:WAV:FORM ASC Set the data format as ASCII.
:WAV:FORM?

Return ASCii.


2. :WAVeform:DATA?

Command Format:
:WAVeform:DATA? []

Function:
The command reads waveform data from the specified source. may
be : CHANnel1, CHANnel2, CHANnel3, CHANnel4 or MATH.

Returned Format:
The query returns a certain amount of waveform data that specifed
by :WAVeform:POINts.

NOTE:

The command returns the data on the screen while waveform playback, at this moment,