3 Spectrum Analyzer Mode
3.2 Swept SA Measurement
from the mathematical result of up to two other traces and an offset, depending on
whether trace math is on or not. The resultant data is then fed to the Average/Hold
processing block, where (if the trace type is Average, Max Hold, or Min Hold) it is
processed with previous trace data. The new trace data resulting from this process
is then available for display, storage or remote output.
When the processing is complete for Trace 1, Trace 2 is processed, and so on
until all six traces have been processed. This allows a downstream trace to use as
one of its math components a fully processed upstream trace. In other words, if
math is ON for Trace 4, and its operand traces are Trace 2 and Trace 3, then all
detector, math, average and hold processing for Traces 2 and 3 is completed before
the math is performed for Trace 4. When the current trace point is completed for
all traces, the instrument moves on to the next trace point.
This allows very flexible and powerful math functions to be configured. For example,
Trace 1 can be an average trace, which can be fed with an offset to Trace 2,
which can also be in Max Hold, allowing you to obtain the Max Hold of an Average
trace.
Note that none of this processing is performed on inactive traces.
Note also that for any active trace with math ON, the Operand traces should have
lower numbers than the trace (for example, using Trace 4 as an operand for Trace
1 will cause the data coming from Trace 4 to be delayed by one sweep).
Operand 1 / Operand 2
These two controls select the first and second trace operands to be used for the
trace math functions for the destination trace. The operands are common to all math
functions for a given trace. The most recently sent :CALCulate:MATH command for
a given trace sets the operands for that trace. Those settings are displayed on the
trace operand controls for that trace.
Example The following examples are for the Swept SA measurement
Set Trace 3 to Power Diff trace math function. Set the First Trace operand (for Trace 3) to Trace 1 and
the Second Trace operand (for Trace 3) to Trace 2:
:CALC:MATH TRACE3,PDIF,TRACE1,TRACE2,0,0
Set Trace 3 to Log Offset trace math function. Set the First Trace operand (for Trace 3) to Trace 1,
leave the Second Trace operand (for Trace 3) unchanged (it is irrelevant for this function) and set the
Log Offset (for Trace 3) to -6 dB:
:CALC:MATH TRACE3,LOFF,TRACE1,TRACE2,-6.00,0
Notes See "Math Function" on page 1743 for how to specify Operands 1 and 2 using :CALCulate:MATH
Dependencies The destination trace cannot be an operand. The destination trace number is grayed-out on the
dropdown
Preset Operand 1: Trace number minus 2 (wraps at 1). For example, for Trace 1, Operand 1 presets to Trace
536 Spectrum Analyzer Mode User's &Programmer's Reference