3 Short-Range Comms & IoT Mode
3.5 Channel Power Measurement
: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
- Set 5 defines the “Log Offset” (in dB)
- Set 6 defines the “Log Difference Reference” (in dBm)
Note that the trace math mode is an enumeration; that is, when a math function is set for a trace, it
turns off any math function that is on for that trace, then sets the new math function
The parameters sent in the command are reflected in the values in the control menu. There is no
default for any parameter; all 6 parameters must be sent to satisfy the parser. Failure to specify a
parameter will result in a missing parameter message
The query returns the math mode, the operand traces, the offset and the reference for the specified
trace, all separated by commas
Dependencies Trace Math is not available if Normalize is on
Trace Math is not available if Signal ID is on
None of the trace operands can be the destination trace. If any of the three trace math commands is
sent with a destination trace number matching one of the operands, a warning is generated and the
function does not turn on
Couplings When a math function is changed for a trace, that trace is set to Display = ON; and Update = ON
Preset For Swept SA Measurement (in SA Mode):
OFF,TRACE5,TRACE6,0,0 | OFF,TRACE6,TRACE1,0,0 | OFF,TRACE1,TRACE2,0,0 |
OFF,TRACE2,TRACE3,0,0 | OFF,TRACE3,TRACE4,0,0 | OFF,TRACE4,TRACE5,0,0
Short Range Comms & IoT Mode User's &Programmer's Reference 673