R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Command Reference
SCPI Command Reference
Operating Manual 1145.1084.12 – 30 662
Define a mathematical trace, dividing the data trace by the stored memory trace.
The mathematical trace is not displayed
CALC:MATH:STAT ON
Display the mathematical trace instead of the active data trace.
CALCulate<Chn>:MATH[:EXPRession]:SDEFine '<string>'
Defines a general mathematical relation between traces. To calculate and display the new mathematical
trace, the mathematical mode must be switched on (CALCulate<Chn>:MATH:STATe ON).
Channel number used to identify the active trace.
String parameter for the mathematical expression, enclosed in brackets. The string
format must correspond to an allowed string in the Define Math dialog.
Operands, operators and functions; see table below.
Device-specific, command or query. This command also queries a mathematical
expression defined via CALCulate<Chn>:MATH[:EXPRession][:DEFine].
*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:SDEF 'Trc1 / Mem2[Trc1]'
Define a mathematical trace, dividing the data trace by the stored memory trace.
The mathematical trace is not displayed.
CALC:MATH:STAT ON
Display the mathematical trace instead of the active data trace.
Expressions defined via CALCulate<Chn>:MATH[:EXPRession]:SDEFine may contain the following
elements:
<Trace name> |
activeTrc |
Mem[activeTrc]
All traces and memory traces of the active setup |
Active trace |
Active memory trace assigned to the active trace
e, pi |
1, -1.2, 8e9 |
1 + 2j, 2 + 1e-9j
Constants |
Real values in decimal or exponential format |
Complex numbers
Basic arithmetic operations; ^ for exponentiation
linMag (), dBMag (), Arg (), Re (), Im (), log (), ln (), tan (),
atan (), sin (), asin (), cos (), acos (),
Min ( ... , ... ), Max ( ... , ... )
Mathematical functions with one or two
arguments
Current stimulus value (see description of
operators for User Defined Math)