Command Reference
R&S
®
ZNC
420
User Manual 1173.9557.02 ─ 13
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 memory
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
expressions.
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
*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 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).
SCPI Command Reference