
:WAVeform Commands
30
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide
649
:WAVeform:SOURce
(see
page 790
)
Command Syntax
:WAVeform:SOURce <source>
<source> ::= {CHANnel<n> | FUNCtion | MATH | WMEMory<r> | SBUS1}
for DSO models
<source> ::= {CHANnel<n> | POD{1 | 2} | BUS{1 | 2} | FUNCtion
| MATH | WMEMory<r> | SBUS1}
for MSO models
<n> ::= 1 to (# analog channels) in NR1 format
<r> ::= {1 | 2}
The :WAVeform:SOURce command selects the analog channel, function,
digital pod, digital bus, reference waveform, or serial decode bus to be
used as the source for the :WAVeform commands.
Function capabilities include add, subtract, multiply, and FFT (Fast
Fourier Transform) operations.
When the :WAVeform:SOURce is the serial decode bus (SBUS1), ASCii is
the only waveform format allowed, and the :WAVeform:DATA? query
returns a string with timestamps and associated bus decode information.
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
":WAVeform:FORMat"
on
page 639).
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 hexadecimal bus values, for example: 0x1938,0xff38,...
Query Syntax
:WAVeform:SOURce?
The :WAVeform:SOURce? query returns the currently selected source for
the WAVeform commands.
Summary of Contents for InfiniiVision 2000 X-Series
Page 1: ...s1 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide...
Page 24: ...24 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide...
Page 38: ...38 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 1 What s New...
Page 48: ...48 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 2 Setting Up...
Page 62: ...62 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 3 Getting Started...
Page 206: ...206 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 8 BUS n Commands...
Page 242: ...242 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 11 DEMO Commands...
Page 250: ...250 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 12 DIGital d Commands...
Page 270: ...270 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 14 DVM Commands...
Page 312: ...312 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 17 HARDcopy Commands...
Page 332: ...332 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 19 MARKer Commands...
Page 416: ...416 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 22 POD Commands...
Page 424: ...424 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 23 RECall Commands...
Page 446: ...446 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 24 SAVE Commands...
Page 588: ...588 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 28 TIMebase Commands...
Page 692: ...692 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 31 WGEN Commands...
Page 758: ...758 Agilent InfiniiVision 2000 X Series Oscilloscopes Programmer s Guide 34 Error Messages...