MDO3000 Programmer Manual.pdf - 第448页
Commands Listed in A lphabetical Order Group Math Syntax MATH[1]:VERTi cal:POSition <NR3> MATH[1]:VERTi cal:POSition? Related Commands CH<x>:POSition , REF<x>:VER T ical:POSition Arguments <NR3> i…

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

Commands Listed in Alphabetical Order
MATH[1]:VERTical:UNIts
Returns the math waveform vertical measurement unit value.
Group
Math
Syntax
MATH[1]:VERTical:UNIts?
Examples
MATH:VERTICAL:UNITS? might return MATH:VERTICAL:UNITS "joules"
indicating that the math vertical unit label for unknown values is joules.
MATHVAR? (Query Only)
Queries both numerical values you can use within math expressions.
Group
Math
Syntax
MATHVAR?
Related Commands
M AT H VA R: VA R < x > , MATH[1]:DEFine
Returns
<NR3> are the stored numerical values.
Examples
MATHVAR? returns the values of all variables stored in locations 1 through 2.
MATHVAR:VAR<x>
This command specifies one of two different numerical values you can use within
math expressions. These values can range from -10.0e-18 to 1.0e+15; the default
values are 0.0. <x> specifies the location, 1 or 2, in which you can store values.
Stored math variables can be referenced within math expressions as VAR1 and
VA R 2 .
For example, the following command defines MATH1 as the product of Channel
1andma
th variable 1: MATH1:DEFINE "CH1 * VAR1".
Group
Math
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-419