Chapter 3 Message Details
3-96
:CALCulate[1|2|3|4|5|6]:MATH[:EXPRession][:DEFine]
Function
This command sets the calculation formula for the active trace whose
trace type is CALC.
This command queries the calculation formula for the active trace whose
trace type is CALC.
Syntax
:CALCulate[1|2|3|4|5|6]:MATH[:EXPRession][:DEFine]
<trace_name><operator><trace_name>
:CALCulate[1|2|3|4|5|6]:MATH[:EXPRession][:DEFine]?
Specify the Active trace (A to F) by specifying a number from 1 to 6.
When omitted, the Active trace is not changed.
<trace_name>: Calculated trace
<operator>: Operator “-“ (minus)
<trace_name>: Calculating
Response Data
<trace_name>,<trace_name>,{-|/},<trace_name>
The operator for linear scale is “-“ (minus), and that for log scale is “/”
(slash).
Example of Use
:CALCulate1:MATH:EXPRession:DEFine B-C
:CALCulate1:MATH:EXPRession:DEFine?
>TRA,TRB,-,TRC
Set the trace type of Active trace to Calculate.
Set two traces other than the Active trace. If the Active trace is set to A,
the command cannot be executed when set as follows:
:CALCulate1:MATH:EXPRession:DEFine A-B
Set traces with the Write or Fix trace type for traces set at the first or
third command parameter.
The trace of Calculate type cannot be set.