
Command Reference
R&S
®
ZNB/ZNBT
760
User Manual 1173.9163.02 ─ 38
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: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.
Manual operation:
See
Expressions defined via
CALCulate<Ch>:MATH[:EXPRession]:SDEFine
may
contain the following elements:
Type
Complete List
Description
Operands
<Trace name> |
activeTrc |
Mem[activeTrc]
All traces and memory traces of the active recall set |
Active trace |
Active memory trace assigned to the active trace
Constants
e, pi |
1, -1.2, 8e9 |
1 + 2j, 2 + 1e-9j
Constants |
Real values in decimal or exponential format |
Complex numbers
Operators
- + , - , * , / , ^
Basic arithmetic operations; ^ for exponentiation
Functions
linMag (), dBMag (), Arg (),
Re (), Im (), log (), ln (), tan (),
atan (), sin (), asin (), cos (),
acos (),
Min ( ... , ... ), Max ( ... , ... )
Mathematical functions with one or two arguments
Special Functions
StimVal
Current stimulus value (see description of operators
for User Defined Math)
Brackets
( )
Priority of operations in complex expressions
CALCulate<Chn>:MATH:FUNCtion
<Mode>
Defines a simple mathematical relation between the active trace and the active mem-
ory trace to calculate a new mathematical trace and displays the mathematical trace.
Note:
This command places some restrictions on the mathematical expression and the
operands. Use
CALCulate<Chn>:MATH[:EXPRession]:SDEFine
expressions.
Suffix:
<Chn>
.
Channel number used to identify the active trace
SCPI Command Reference