Agilent Technologies 5000 Series Sander User Manual


 
420 Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference
3 Commands by Subsystem
:WAVeform:SOURce
(see page 530)
Command Syntax
:WAVeform:SOURce <source>
<source> ::= {CHANnel<n> | FUNCtion | MATH}
<n>::={1|2|3|4}forthefour channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
The :WAVeform:SOURce command selects the analog channel or function to
be used as the source for the :WAVeform commands.
Function capabilities include add, subtract, multiply; integrate,
differentiate, 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}
<n>::={1|2|3|4}forthefour channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
See Also "Introduction to :WAVeform Commands" on page 403
":DIGitize" on page 96
":WAVeform:FORMat" on page 412
":WAVeform:BYTeorder" on page 408
":WAVeform:DATA" on page 410
":WAVeform:PREamble" on page 417
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"
' WAVE_POINTS - Specifies the number of points to be transferred
' using the ":WAVEFORM:DATA?" query.
NOTE
MATH is an alias for FUNCtion. The :WAVeform:SOURce? query returns FUNC if the source
is FUNCtion or MATH.