MDO3000 Programmer Manual.pdf - 第446页
Commands Listed in A lphabetical Order Syntax MATH[1]:SPECT ral:MAG { LIN EAr|DB} MATH[1]:SPECT ral:MAG? Arguments LINEAR sets the SpectralMag units to linear . DB sets the SpectralMag units to decibels. Examples MATH1:S…

Commands Listed in Alphabetical Order
Examples
MATH:? might re
turn
MATH: 2.0 E-4 indicating that the math horizontal scale
is 200 μ
MATH[1]:HORizontal:UNIts
Returns the math waveform horizontal measurement unit value.
Group
Math
Syntax
MATH[1]:HORizontal:UNIts?
Examples
MATH:HORIZONTAL:UNITS? might return M ATH:HORIZONTAL:UNITS "?"
indicating that the math horizontal unit label for unknown values is the default
question mark unit.
MATH[1]:LABel
Sets or queries the waveform label for the math waveform.
Group
Math
Syntax
MATH[1]:LABel <QString>
MATH[1]:LABel?
Arguments
<QString> is the quoted string used as the label for the math waveform.
Examples
MATH:LABEL “Output” sets the label for the math waveform to Output.
MATH:LABEL? might return MATH:LABEL "Sum of channel 1 and
channel 2"
indicating the current label for the math waveform.
MATH[1]:SPECTral:MAG
This command specifies the units of the Spectral Magnification function in the
math string.
Group
Math
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-415

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