Chapter 2 Command System
:WAVeform:MODE
:WAVeform:FORMat
:WAVeform:DATA?
:WAVeform:XINCrement?
:WAVeform:XORigin?
:WAVeform:XREFerence?
:WAVeform:YINCrement?
:WAVeform:YORigin?
:WAVeform:YREFerence?
:WAVeform:STARt
:WAVeform:STOP
:WAVeform:PREamble?
:WAVeform:SOURce
Syntax
:WAVeform:SOURce <source>
:WAVeform:SOURce?
Description
Sets or queries the source channel of waveform data reading.
Parameter
Name
<source>
Remarks
When the channel source is set to MATH1-MATH4,
select the NORMal mode.
When the channel source is set to a digital channel, the query
command
the command reads the screen waveform data, it returns the signal status of the
currently selected channel source. One waveform point occupies 1 byte (8 bits). If
the command reads the memory waveform data, it returns the signal status of the
channel group where the currently selected channel sources reside. 1 byte
represents the status of one group of digital signals.
Return
The query returns D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14,
Format
D15, CHAN1, CHAN2, CHAN3, CHAN4, MATH1, MATH2, MATH3, or MATH4.
Example
:WAVeform:SOURce CHANnel2
:WAVeform:SOURce?
:WAVeform:MODE
Syntax
:WAVeform:MODE <mode>
:WAVeform:MODE?
Description
Sets or queries the mode of the
Parameter
Name
<mode>
MSO7000/DS7000 Programming Guide
Type
Range
{D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D
11|D12|D13|D14|D15|CHANnel1|CHANnel2
Discrete
|CHANnel3|CHANnel4|MATH1|MATH2|MAT
H3|MATH4}
:WAVeform:DATA?
always returns the waveform data in byte format. If
/*Sets the channel source to CH2.*/
/*The query returns CHAN2.*/
:WAVeform:DATA?
Type
Range
Discrete
{NORMal|MAXimum|RAW}
Default
CHANnel1
:WAVeform:MODE
command in reading data.
Default
NORMal
RIGOL
can only
2-225