MDO3000 Programmer Manual.pdf - 第445页
Commands Listed in Alphabetical Order Examples MATH:? might re turn MATH: 2.0 E-4 indicating that the math horizontal scale is 200 μ MA TH[1]:HORizontal:UNIts Returns the math waveform horizontal measurement unit value. …

Commands Listed in Alphabetical Order
MATH:DEFINE "I
NTG(1+CH1) + SINE(CH1)*(VAR1+CH2)*CH 3 -
CAREA(CH4)"
Some examples of SPE CTRUM math expressions are as follows:
MATH:DEFIN
E "RF_NOR MAL - RF_ AVERAGE"
MATH:DEFINE "RF_NORMAL * RF_AVERAGE"
MATH[1]:HORizontal:POSition
This command specifies the math horizontal display position for FFT or (non-live)
math reference waveforms.
Group
Math
Syntax
MATH[1]:HORizontal:POSition <NR3>
MATH[1]:HORizontal:POSition?
Arguments
<NR3> is a floating point number that specifies the % of the math waveform that
precedes center screen. It can vary from 0.0 to 100.0.
Examples
MATH:HORIZONTAL:POSITION 10 sets the horizontal position to 10% pretrigger
MATH[1]:HORizontal:SCAle
This command specifies the math horizontal display scale for FFT or for dual
math waveforms that have source waveforms that are reference waveforms. The
horizontal scale of a dual math waveform with a channel source waveform is set
through the command.
Group
Math
Syntax
MATH[1]:HORizontal:SCAle <NR3>
MATH[1]:HORizontal:SCAle?
Arguments
<NR3> is a floating point number that specifies the math horizontal scale, in
seconds.
2-414 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

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