Command reference
R&S
®
ZNB/ZNBT
965
User Manual 1173.9163.02 ─ 62
CALCulate<Chn>:MATH:FUNCtion
<Mode>
CALCulate<Chn>:MATH:FORMatted:FUNCtion
<Mode>
Defines a simple mathematical trace based on the active trace and its active memory
trace. The first command applies to raw, unformatted trace data (complex data), the
second to formatted trace data. Both methods can be combined.
To apply the trace math, the corresponding mathematical mode must be switched on
using
.
Note:
CALCulate<Chn>:MATH[:EXPRession]:SDEFine
and/or
CALCulate<Chn>:MATH:FORMatted[:EXPRession]:SDEFine
to define general
math traces.
Suffix:
<Chn>
.
Channel number used to identify the active trace
Parameters:
<Mode>
NORMal | ADD | SUBTract | MULTiply | DIVide
NORMal
–
Math. trace = active data trace
ADD
–
Math. trace = data + memory
SUBTract
–
Math. trace = data - memory
MULTiply
–
Math. trace = data * memory
DIVide
–
Math. trace = data / memory
When set to
NORMal
, the corresponding mathematical mode is
turned
OFF
, otherwise it is turned
ON
.
*RST:
NORMal
Example:
*RST; :CALC:MATH:MEM
Copy the current state of the default trace
'Trc1'
to a memory
trace named
'Mem2[Trc1]'
. The memory trace is not dis-
played.
CALC:MATH:FUNC DIV
Define a mathematical trace, dividing the raw complex data
trace trace by the stored memory trace. The mathematical trace
is displayed instead of the active data trace.
CALC:MATH:STAT?
The response is 1 (mathematical mode for unformatted trace
data switched on, mathematical trace displayed).
Manual operation:
See
CALCulate<Chn>:MATH:MEMorize
Copies the current state of the active data trace to a memory trace. If a mathematical
trace is active, the data trace associated with the mathematical trace is copied. The
memory trace is named
Mem<n>[<Data_Trace>]
where
<n>
counts all data and
memory traces in the active recall set in chronological order, and
<Data_Trace>
is
the name of the associated (copied) data trace.
SCPI command reference