R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 663
Priority of operations in complex expressions
CALCulate<Chn>:MATH:FUNCtion NORMal | ADD | SUBTract | MULTiply | DIVide
Defines a simple mathematical relation between the active trace and the active memory trace to calculate
a new mathematical trace and displays the mathematical trace.
This command places some restrictions on the mathematical expression and the operands. Use
CALCulate<Chn>:MATH[:EXPRession]:SDEFine to define general expressions.
Channel number used to identify the active trace.
NORMal
ADD
SUBTract
MULTiply
DIVide
Math. trace = active data trace
Math. trace = data + memory
Math. trace = data – memory
Math. trace = data * memory
Math. trace = data / memory
*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 displayed.
CALC:MATH:FUNC DIV
Define a mathematical trace, dividing the data 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 switched on, mathematical trace
displayed).
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 setup in chronological
order, and <Data_Trace> is the name of the associated (copied) data trace.
The exact function of the command depends on the number of memory traces associated to the active
data trace:
If no memory trace is associated to the active trace, a new memory trace is generated.
If several memory traces are associated to the active trace, the current measurement data
overwrites the last generated or changed memory trace.
To copy a trace to the memory without overwriting an existing memory trace or define a memory trace
name, use TRACe:COPY <memory_trc>,<data_trc>. To copy an active mathematical trace use