User Manual

Table Of Contents
640 Keysight InfiniiVision 1000 X-Series Oscilloscopes Programmer's Guide
28 :WAVeform Commands
:WAVeform:SOURce
(see page 782)
Command Syntax
:WAVeform:SOURce <source>
<source> ::= {CHANnel<n> | FUNCtion | MATH | FFT | WMEMory<r> | ABUS
| EXT}
<n> ::= 1 to (# analog channels) in NR1 format
<r> ::= {1 | 2}
The :WAVeform:SOURce command selects the analog channel, function, or
reference waveform to be used as the source for the :WAVeform commands.
Function capabilities include add, subtract, multiply, and FFT (Fast Fourier
Transform) operations.
Query Syntax
:WAVeform:SOURce?
The :WAVeform:SOURce? query returns the currently selected source for the
WAVeform commands.
Return Format
<source><NL>
<source> ::= {CHAN<n> | FUNC | FFT | WMEM<r> | ABUS | EXT}
<n> ::= 1 to (# analog channels) in NR1 format
<r> ::= {1 | 2}
See Also "Introduction to :WAVeform Commands" on page 621
":DIGitize" on page 143
":WAVeform:FORMat" on page 630
":WAVeform:BYTeorder" on page 626
":WAVeform:DATA" on page 628
":WAVeform:PREamble" on page 635
Example Code
' WAVEFORM_DATA - To obtain waveform data, you must specify the
' WAVEFORM parameters for the waveform data prior to sending the
' ":WAVEFORM:DATA?" query. Once these parameters have been sent,
' the waveform data and the preamble can be read.
'
' WAVE_SOURCE - Selects the channel to be used as the source for
' the waveform commands.
myScope.WriteString ":WAVEFORM:SOURCE CHAN1"
NOTE
MATH is an alias for FUNCtion. The :WAVeform:SOURce? Query returns FUNC if the source is
FUNCtion or MATH.