MDO3000 Programmer Manual.pdf - 第441页

Commands Listed in Alphabetical Order T able 2-56: Math expression elements (cont.) Element Description Example NWIdth(<wfm>) Negative pulse width: the distance (time) between the mid reference (default 50%) amplit…

100%1 / 1158
Commands Listed in Alphabetical Order
Table 2-56: Math expression elements (cont.)
Element Description Example
FREQuency(<wfm>) The rst cycle in a waveform or gated
region. Frequency is the reciprocal of
the period; it is measured in hertz (Hz)
where one Hz is one cycle per second.
:MATH:DEFINE
"FREQUENCY(CH1)"
HIGH(<wfm>) This value is used as 100% whenever
high reference, mid reference, or low
reference values are needed, such as
in fall time or rise time measurements.
Calculate u sing either the min/max
or histogram method. The min/max
method uses the maximum value
found. The h istogram method uses the
most common value found above the
midpoint. This value is measured over
the entire waveform or gated region.
:MATH:DEFINE
"HIGH(CH1)*CH2"
LOW(<wfm>) This value is used as 0% whenever
high reference, mid reference, or low
reference values are needed, such as
in fall time or rise time measurements.
Calculate u sing either the min/max
or histogram method. The min/max
method uses the minimum value
found. The h istogram method uses the
most common value found below the
midpoint. This value is measured over
the entire waveform or gated region.
:MATH:
DEFINE "LOW(CH1)"
MAXimum(<wfm>)
The most positive peak voltage. Max is
measured over the entire waveform or
gated region.
:MATH:DEFINE
"MAXIMUM(CH1)"
MEAN(<wfm>)
The arithmetic mean over the entire
waveform or gated region.
:MATH:DEFINE "MEAN(CH1)"
MINImum(<wfm>)
The most negative peak voltage. Min is
measured over the entire waveform or
gated region.
:MATH:DEFINE
"MINIMUM(CH1)"
NDUty(<wfm>) Negative duty cycle: the ratio of the
negative pulse width to the signal period
expressed as a percentage. The duty
cycle is measured on the rst cycle in
the waveform or gated region.
:M
ATH:DEFINE "NDUTY(CH1)"
NOVershoot(<wfm>)
Negative overshoot: this is measured
over the entire waveform or gated
region and is expressed as: Negative
Overshoot = (Low Minimum) /
Amplitude x 100%.
:MATH:DEFINE
"NOVERSHOOT(CH1)"
2-410 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Table 2-56: Math expression elements (cont.)
Element Description Example
NWIdth(<wfm>)
Negative pulse width: the distance
(time) between the mid reference
(default 50%) amplitude points of a
negative pulse. The measurement is
made on the rst pulse in the waveform
or gated region.
:MATH:DEFINE "NWIDT H(CH1)"
PDUTy(<wfm>) Positive duty cycle: the ratio of the
positive pulse width to the signal period
expressed as a percentage. duty cycle
is measured on the rst cycle in the
waveform or gated region.
:MATH:DEF
INE "PDUTY(CH1)"
PERIod(<wfm>) The time required to complete the rst
cycle in a waveform o r gated region.
Period is the reciprocal of frequency
and is measured in seconds.
:MATH:DEFINE "PERIO D(CH1)"
PHAse(<wfm>) The amount of time that one waveform
leads or lags another waveform,
expressed in degrees where 360°
makes up one waveform cycle. See
also Delay.
:MATH:DEFINE
"PHASE(CH1,CH2)"
PK2pk(<wfm>) Peak to peak: the absolute difference
between the maximum and minimum
amplitude in the entire waveform or
gated region.
:MATH:DEFINE "PK2PK (CH1)"
POVershoot(<wfm>)
Positive overshoot: this is measured
over the entire w aveform or gated
region and is expressed as: Positive
Overshoot = (Maximum High) /
Amplitude x 100%.
:MATH:DEFINE
"POVERSHOOT(CH1)"
PWIdth(<wfm>) Positive pulse width: the distance (time)
between the mid reference (default
50%) amplitude points of a positive
pulse. The measurement is made on
the rst pulse in the waveform or gated
region.
:MATH:DEFINE "PWIDT H(CH1)"
RISe(<wfm>) The time required for the leading edge
of the rst pulse in the waveform
or gated region to rise from the low
reference value (default = 10%) to the
high reference value (default = 90%) of
the nal value.
:MATH:DEFINE "RISE( CH1)"
RMS(<wfm>) The true Root Mean Square voltage
over the entire w aveform or gated
region.
:MATH:DEFINE "RMS(C H1)"
SINe<wfm> Sine measurement of <wfm>
:MATH:DEFINE "SINE( CH1)"
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-411
Commands Listed in Alphabetical Order
Table 2-56: Math expression elements (cont.)
Element Description Example
TOVershoot<wfm> Total overshoot is the summation of
positive overshoot and the absolute
value of negative overshoot.
Trigonometric operations on expressions
ABS(<expr>) Absolute value of (<expr>)
:MATH:DEFINE
"ABS(CH2-CH1)"
COSINE(<expr>) Absolute value of (<expr>)
:MATH:DE
FINE "COSine(CH1)"
DEG(<expr>) Converts (<expr>) from radians to
degrees
:MATH:DE
FINE "CH1 *
DEG(VAR1)"
DIFF(<expr>) Differential of (<expr>)
Executes a differentiation operation on
the expression that follows. Measures
the slope of a curve at each point on the
input waveform.
:MATH:DEFINE "DIFF(CH1)"
:MATH:DEFINE
"DIFF(
ABS(CH1))"
EXP(<expr>) Base of natural logarithm constant "e"
raised to the power of (<expr>)
:MATH:DEFINE
"EXP(DIFF(CH1))"
FFT(<expr>) Executes a Fast Fourier Transform
operation on the expression that follows.
Calculates the set of frequencies that
are present in the input waveform.
NOT
E. If the FFT operator
is used, it needs to be the
outer-most operator.
:MATH
:DEFINE "FFT(CH1)"
:MATH:DEFINE
"FFT(CH1+CH2)"
:MAT
H:DEFINE "FFT(CH1+
INT(CH2))”
Not acceptable:: :MATH:DEF INE
“CH
1 + FFT(CH2)”
INTG(<expr>) Integral of (<expr>)
Executes an integration operation on
th
e expression that follows. Measures
the accumulated area under the input
waveform.
:MATH:DEFINE "INTG(CH1)"
:MATH:DEFINE
"INTG(CH1+CH2)"
LOG(<expr>) Base 10 logarithm of (<expr>)
:MATH:DEFINE "LOG(CH1)"
RAD(<expr>) Converts (<expr>) from degrees to
radians
:MATH:DEFINE
"RAD(PHASE(CH1,CH2))"
SQRT(<expr>) Square root of (<expr>)
:MATH:DEFINE
"SQRT(SINE(CH1))"
SINe<expr>) Sine of (<expr>)
:MATH:DEFINE
“SINE(CH1+CH2)”
TAN(<expr>) Tangent of (<expr>)
:MATH:DEFINE "TAN(CH1)"
TRE(<expr>) Trend plot of <expr>
:MATH:DEFINE
"TRE(PERIOD(CH1))"
User-dened variables
VAR1, VAR2
Specify the variables using the
MATHVAR:VAR<x> command.
:MATH:DEFINE "VAR1+CH1"
Relational and logical operators
2-412 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual