Specifications
RIGOL
Programming Guide for DS1000B Series
2-80
1. :WAVeform:DATA?
Command Format:
:WAVeform:DATA?□[<source>]
Function:
The command is used to read the data of waveform on EMS memory. The
<source> may be CHANnel1, CHANnel2, CHANnel3, CHANnel4 or MATH.
Return Format:
The query returns 1024 waveform datum.
Example:
:WAVeform:DATA?□CHANnel1
Read the data from CH1, return: 5.240000e+02, 4.760000e+02,…….
2. :WAVeform:FORMat
Command Format:
:WAVeform:FORMat□<value>
Function:
The command sets the format of waveform data. The <value> may be WORD,
BYTE or ASCII.
Difference of WORD, BYTE and ASCII:
ASCII: Datum translate into character, returns ASCII values.
Eg: Waveform data is 1000, returns ’1’,’0’,’0’,’0’, a point correspond many bytes.
BYTE and ASCII: 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.
Query Format:
:WAVeform:FORMat?
Return Format:
The query returns WORD or BYTE, ASCII.
Example:
:WAVeform:FORMat□ASCII Set the data format as ASCII.
:WAVeform:FORMat? Return ASCII.