Remote control commands
R&S
®
RTB2000
347
User Manual 1333.1611.02 ─ 11
CALCulate:MATH<m>:STATe
<State>
Activates the mathematics function and displays the defined math waveforms.
Suffix:
<m>
.
1..5
Selects the math waveform.
Parameters:
<State>
ON | OFF
*RST:
OFF
CALCulate:MATH<m>[:EXPRession][:DEFine]
<RemComplExpr>
Defines the equation to be calculated for the selected math waveform as a regular
expression.
Suffix:
<m>
.
1..5
Selects the math waveform.
Parameters:
<RemComplExpr>
String parameter, consisting of the mathematical operation and
the source(s), written in parenthesis. Optionally, the unit can be
included in the string. If no unit is given, the last setting is used.
Example:
CALC:MATH<2>:EXPR:DEF "ADD(CH1,CH2)"
Same command with unit:
CALC:MATH<2>:EXPR:DEF "ADD(CH1,CH2)ín V"
Delete the unit:
CALC:MATH<2>:EXPR:DEF "ADD(CH1,CH2)ín"
Operation
Expression string
Comment
Addition
"ADD(CH1,CH2) in V"
"CH1+CH2" is also possible
Subtraction
"SUB(CH1,CH2) in V"
"CH1-CH2" is also possible
Multiplication
"MUL(CH1,CH2)"
"CH1*CH2" is also possible
Division
"DIV(CH1,CH2)"
"CH1/CH2" is also possible
Square
"SQR(CH1)"
Square Root
"SQRT(CH1)"
Absolute value
"ABS(CH1)"
Reciprocal
"REC(CH1)"
Inverse
"INV(CH1)"
Common logarithm (basis 10)
"LOG(CH1)"
Natural logarithm (basis e)
"LN(CH1)"
Waveform analysis