Command reference
R&S
®
ZNB/ZNBT
964
User Manual 1173.9163.02 ─ 62
●
The expression in the second command refers to formatted trace data. In order to
apply it,
CALCulate<Chn>:MATH:FORMatted:FUNCtion
NORMal
and
CALCulate<Chn>:MATH:FORMatted:STATe
must be set to
ON
.
Trace math for unformatted and formatted trace data can be used at the same time.
Suffix:
<Chn>
.
Channel number used to identify the active trace
Parameters:
<Expression>
Operands, operators and functions; see table below.
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 raw complex 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
or
CALCulate<Chn>:MATH:FORMatted[: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
SCPI command reference