CALCulate[1|2|3|4]:MATH[:EXPRession[1|2|3|4|5]]
Defines a math function.
Command Syntax:
<EXPR> ::= ([<expr_element>]...)
<expr_element> ::= see operations and operands listed below
Example Statements:
Query Syntax:
Return Format:
Attribute Summary:
Description:
This command loads an expression into one of five math function registers. The register defaults to F1 if
you do not specify the register with :EXPR[1|2|3|4|5].
Before you can display the results of a trace math function, you must load the function definition into one
of the analyzer's five function registers: F1 through F5. Once you have loaded the function register with
CALC:MATH:EXPR, you execute the expression and display the results with the CALC:MATH:SEL
command. CALC:MATH:STAT must be ON.
Note
This command is not trace specific. It ignores the trace specifier.
To define trace math functions, combine the elements (listed below) according to the rules of standard
algebraic notation. Use parentheses to control the order of operations.
Operations
AWEIGHT Apply A-weight filter
–
BWEIGHT Apply B-weight filter
–
CWEIGHT Apply C-weight filter
–
CONJ Complex Conjugate
–
DIFF Differentiate
–
DJOM Divide by j ω
–
EXP Exponential
–
FFT Fast Fourier Transform
–
IFFT Inverse Fast Fourier Transform
–
INTEG Integrate
–
IMAG Imaginary Part
–
LN Natural Logarithm
–
CALCulate:MATH[:EXPRession[1|2|3|4|5]] <EXPR>
OUTPUT 711;"Calculate:Math:Expr2 (K1*FRES)"
OUTPUT 711;"CALC:MATH (TIME1-TIME2)"
CALCulate[1|2|3|4]:MATH[:EXPRession[1|2|3|4|5]]?
STRING
Option:
not applicable
Synchronization Required:
Preset State:
not affected by Preset
SCPI Compliance:
no
confirmed
CALCulate
command/query
6-97