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(C H2)”
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-defined 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