3 VMA Mode
3.8 ACP Measurement
Math Function
Trace Math functions perform mathematical operations between traces and, in
some cases, user-specified offsets. When in a Trace Math function, the indicated
function is performed during the sweep with the math function used in place of a
detector. The trace operands for the math function are set using the "Operand 1 /
Operand 2" on page 1751 controls.
–
See "How trace math is processed" on page 1381
Remote Command For option details, see "Trace Math Options" on page 1379
For Swept SA Measurement (in SA Mode):
:CALCulate:MATH <trace_num>, PDIFference | PSUM | LOFFset | LDIFference |
OFF, <trace_num>, <trace_num>, <real>,<real>
:CALCulate:MATH? <trace_num>
where <trace_num> is any one of:
TRACE1|…|TRACE6
For all other measurements:
:CALCulate:<meas>:MATH <trace_num>, PDIFference | PSUM | LOFFset |
LDIFference | OFF, <trace_num>, <trace_num>, <real>,<real>
:CALCulate[:<meas>]:MATH? <trace_num>
where:
<meas> is the identifier for the current measurement, and
<trace_num> is any one of:
TRACe1|TRACe2|TRACe3
Note that the format of the TRACe<n> parameter differs from that for the Swept SA Measurement
Example
:CALC:MATH TRACE3,PDIF,TRACE1,TRACE2,0,0
Sets Trace 3 to Power Diff trace math function, and sets the First Trace operand (for Trace 3) to Trace
1 and the Second Trace operand (for Trace 3) to Trace 2
:CALC:MATH TRACE3,PSUM,TRACE1,TRACE2,0,0
Sets Trace 3 to Power Sum trace math function and sets the First Trace operand (for Trace 3) to Trace
1 and the Second Trace operand (for Trace 3) to Trace 2
:CALC:MATH TRACE3,LOFF,TRACE1,TRACE2,-6.00,0
Sets Trace 3 to Log Offset trace math function, sets the First Trace operand (for Trace 3) to Trace 1,
leaves the Second Trace operand (for Trace 3) unchanged (it is irrelevant for this function) and sets the
Log Offset (for Trace 3) to -6 dB
:CALC:MATH TRACE3,LDIF,TRACE1,TRACE2,0,-6.00
Sets Trace 3 to Log Diff trace math function, sets the First Trace operand (for Trace 3) to Trace 1, sets
the Second Trace operand (for Trace 3) to Trace 2, and sets the Log Difference reference (for Trace 3)
to -6 dBm
:CALC:MATH TRACE1,OFF,TRACE2,TRACE3,0,0
1377 Vector Modulation Analyzer Mode User's &Programmer's Reference