3 Spectrum Analyzer Mode
3.3 Channel Power Measurement
: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
Turns off trace math for trace 1
Notes The Trace Math Function command has 6 main set of parameters:
- Set 1 defines the “result trace”:
TRACE1|…|TRACE6
-Set 2 defines the “function”:
PDIFference|PSUM|LOFFset|LDIFference|OFF
- Set 3 is a “trace operand” (1):
TRACE1|…|TRACE6
- Set 4 is a “trace operand” (2):
TRACE1|…|TRACE6
700 Spectrum Analyzer Mode User's &Programmer's Reference