182 Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference
3Commands by Subsystem
Introduction to
:FUNCtion
Commands
The FUNCtion subsystem controls the math functions in the oscilloscope.
Multiply (channel 1 x channel 2), subtract (channel 1 - channel 2),
differentiate, integrate, and FFT (Fast Fourier Transform) operations are
available. These math operations only use the analog (vertical) channels.
The SOURce, DISPlay, RANGe, and OFFSet commands apply to any
function. The SPAN, CENTer, and WINDow commands are only useful for
FFT functions. When FFT is selected, the cursors change from volts and
time to decibels (dB) and frequency (Hz).
Reporting the Setup
Use :FUNCtion? to query setup information for the FUNCtion subsystem.
Return Format
The following is a sample response from the :FUNCtion? queries. In this
case, the query was issued following a *RST command.
:FUNC:OPER SUBT;DISP 0;RANG +8.00E+00;OFFS +0.00000E+00
:FUNCtion:SOURce
<source> (see
page 190)
:FUNCtion:SOURce?
(see page 190)
<source> ::= {CHANnel<n> | ADD |
SUBT | MULT}
<n> ::= 1-2 or 1-4 in NR1 format
:FUNCtion:SPAN <span>
(see page 191)
:FUNCtion:SPAN? (see
page 191)
<span> ::= the current frequency
span in NR3 format.
Legal values are 1 Hz to 100 GHz.
:FUNCtion:WINDow
<window> (see
page 192)
:FUNCtion:WINDow?
(see page 192)
<window> ::= {RECTangular |
HANNing | FLATtop}
Table 47 :FUNCtion Commands Summary (continued)
Command Query Options and Query Returns
NOTE To perform analog channel addition, set analog channel 2 to invert and select subtract
(channel 1 - channel 2).