MDO3000 Programmer Manual.pdf - 第447页
Commands Listed in Alphabetical Order MA TH[1]:TYPe This command specifies the math type ( DUAL, FFT, ADVanced o r SPECTRUM ). This command is used along with MA TH[1]:DEFine , which spec ifies the current mathematical exp…

Commands Listed in Alphabetical Order
Syntax
MATH[1]:SPECT
ral:MAG { LINEAr|DB}
MATH[1]:SPECTral:MAG?
Arguments
LINEAR sets the SpectralMag units to linear.
DB sets the SpectralMag units to decibels.
Examples
MATH1:SPECTRAL:MAG DB sets the SpectralMag units for Math1 to decibels.
MATH1:SPECTRAL:MAG? might retu
rn
:MATH1:SPECTRAL:MAG DB indicating
that the SpectralMag units for Math1 are set to decibels.
MATH[1]:SPECTral:WINdow
This command specifies the window function for the spectral analyzer input data
for the specified math waveform. A spectral window determines what the filter
shape of the spectral analyzer will be in the frequency domain. It can be described
by a mathematical function th
at is multiplied point-by-point times the input data
to the spectral analyzer.
Group
Math
Syntax
MATH[1]:SPECTral:WINdow
{RECTangular|HAMming|HANning|BLAckmanharris}
MATH[1]:SPECTral:WINdow?
Arguments
RECTangular window function is equivalent to multiplying all gate data by o
ne.
HAMming window function is based on a cosine series.
HANning window f
unction is based on a cosine series.
BLAckmanharris window function is based on a cosine series.
Examples
MATH1:SPECTRAL:WINDOW HANNING applies a Hanning window to the spectral
analyzer input data.
MATH1:SPECTRAL:WINDOW? might return :MATH1:SPECTRAL:WINDOW
HAMMING
indicating that the window function used to multiply the spectral
analyzer input data is the Hamming window.
2-416 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
MATH[1]:TYPe
This command specifies the math type (DUAL, FFT, ADVanced or
SPECTRUM
). This command is used along with MATH[1]:DEFine, which specifies
the current mathematical expression as a text string which defines the waveform.
You must specify the math type before defining the math expression. For a listof
math expres
sions, see MATH[1]:DEFine.
Group
Math
Syntax
MATH[1]:TYPe {DUAL|FFT| ADVanced|SPECTRUM}
MATH[1]:TYPe?
Arguments
DUAL sets the type to dual waveform math, which can use any combination of live
analog or reference waveforms in the time domain display.
FFT sets the type to FFT math, which can use any live analog or reference
waveform in the time domain.
NOTE. You can also use FFT as part of a math expression by declaring the type
ADVanced.
See examples for the command MATH[1]:DEFine.
ADVanced sets the type to advanced math.
SPECTRUM sets the type to spectrum, which can use any combination of live
RF or reference traces in the frequency domain. (MDO3000, MDO4000/B, or
MDO4000C models with option SA3 or SA6 only.)
Examples
MATH:TYPE FFT sets the math type to FFT.
MATH:TYPE FFT;:MATH:DEF I
NE “FFT( CH1 )”;:SELECT:MATH1
sets the
math type to
FFT and displays an FFT waveform of the channel 1 waveform,
using the current FFT scale and window settings.
MATH:TYPE ADVANCED;:MAT H:DEFINE
“INTG(REF1*CH3)+DELAY(CH1,CH2)”;:SELECT:MATH1
sets the math type to
ADVanced anddisplaysanadvancedmathwaveformthatistheINTEGRAL
of the product of REF1 and CH3 plus the result of the delay measurement
between channel 1 and 2.
MATH[1]:VERTical:POSition
This command specifies the vertical position of the currently selected math type.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-417

Commands Listed in Alphabetical Order
Group
Math
Syntax
MATH[1]:VERTical:POSition <NR3>
MATH[1]:VERTical:POSition?
Related Commands
CH<x>:POSition, REF<x>:VERTical:POSition
Arguments
<NR3> is a floating point number that spec
ifies the desired position in divisions
from the center graticule.
Examples
MATH1:VERTICAL:POSITION 1.3E+00 positions the Math 1 input signal
1.3 divisions higher than a position of 0.
MATH1:VERTICAL:POSITION? might return : MATH1:VERTICAL:POSITION
-1.3000E+00
indicating that the current position of Math 1 is 1.3 divisions
below the center graticule.
MATH[1]:VERTical:SCAle
This command specifies the vertical scale of the currently selected math type. This
setting controls the display only, graphically scaling these waveforms and having
no affect on the acquisition hardware. For a signal with constant amplitude,
increasing the scale causes the waveform to be displayed smaller. Decreasing the
scale causes the waveform to be displayed larger.
Group
Math
Syntax
MATH[1]:VERTical:SCAle <NR3>
MATH[1]:VERTical:SCAle?
Related Commands
CH<x>:SCAle,
REF<x>:VERTical:SCAle
Arguments
<NR3> is a floating point number that specifies the scale-per-division in the current
math vertical units. The range is from 1.0E-12 through 500.0E+12.
Examples
MATH1:VERTICAL:SCALE 100E-03 sets the Math scale to 100 mV per division.
MATH:VERTICAL:SCALE? might return :MA TH:VERTICAL:SCALE
1.0000E+00
indicating that the current scale setting of Math is 1 V per division.
2-418 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual