638
Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide
5
Commands by Subsystem
:WAVeform:SOURce
Command Syntax
:WAVeform:SOURce <source>
<source> ::= {CHANnel<n> | FUNCtion | MATH | SBUS} for DSO models
<source> ::= {CHANnel<n> | POD{1 | 2} | BUS{1 | 2} | FUNCtion
| MATH | SBUS} for MSO models
<n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models
<n> ::= {1 | 2} for the two channel oscilloscope models
The :WAVeform:SOURce command selects the analog channel, function,
digital pod, digital bus, or serial decode bus to be used as the source for
the :WAVeform commands.
Function capabilities include add, subtract, multiply; integrate,
differentiate, and FFT (Fast Fourier Transform) operations.
When the :WAVeform:SOURce is the serial decode bus (SBUS), ASCii is the
only waveform format allowed.
With MSO oscilloscope models, you can choose a POD or BUS as the
waveform source. There are some differences between POD and BUS when
formatting and getting data from the oscilloscope:
•
When POD1 or POD2 is selected as the waveform source, you can
choose the BYTE, WORD, or ASCii formats (see
When the WORD format is chosen, every other data byte will be 0. The
setting of :WAVeform:BYTeorder controls which byte is 0.
When the ASCii format is chosen, the :WAVeform:DATA? query returns a
string with unsigned decimal values separated by commas.
•
When BUS1 or BUS2 is selected as the waveform source, you can
choose the WORD or ASCii formats (but not BYTE because bus values
are always returned as 16- bit values).
When the ASCii format is chosen, the :WAVeform:DATA? query returns a
string with timestamps and hexadecimal bus values, for example:
- 5.000000000000e- 08,0x1938,- 4.990000000000e- 08,0xff38,...
Query Syntax
:WAVeform:SOURce?
The :WAVeform:SOURce? query returns the currently selected source for
the WAVeform commands.
N O T E
MATH is an alias for FUNCtion. The :WAVeform:SOURce? Query returns FUNC if the source
is FUNCtion or MATH.
Summary of Contents for InfiniiVision 7000A Series
Page 1: ...Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide...
Page 34: ...34 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 1 What s New...
Page 44: ...44 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 2 Setting Up...
Page 58: ...58 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 3 Getting Started...
Page 750: ...750 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 8 Error Messages...
Page 922: ...922 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide Index...