GUI reference
R&S
®
ZNA
400User Manual 1178.6462.02 ─ 20
Expression builder
The mathematical expression appears in the upper part of the dialog. The operands
and operators in the expression can be selected from a keyboard and the list of "Oper-
ands":
●
The keyboard supports the entry of numeric values, constants, and mathematical
functions. In addition to the numbers 0 to 9, the decimal point and the constants j
(complex unit), pi (approx. 3.14159) and e (approx. 2.71828), it contains the follow-
ing buttons:
– +/- changes the sign
– The effect of the basic arithmetic operators (/, *, –, +) and the mathematical
functions is described in Table 5-4.
Products of numbers and constants may be entered in abbreviated form, e.g.
2e for 2*e.
– The Clear, Del, Back buttons are used to correct faulty entries.
– Check performs a consistency check of the displayed mathematical expression
and displays a message.
●
"Operands" contains all data traces and memory traces of the active recall set.
– Data and memory traces are identified by their trace names.
– "Data" denotes the active data trace.
– "Mem" is the memory trace associated with the active data trace (or the first
created one, if several memory traces are associated with the active data
trace).
– "StimVal" is the array of stimulus values; see footnote for Table 5-4.
The trace operands denote unmodified data and memory traces. Trace math and
other trace functions ("Smoothing", "Hold", "Shift Trace" etc.) are not taken into
account.
Table 5-4: Effect of the operators on a complex quantity z = x + jy.
+, -, *, / Basic arithmetic operations
() Grouping parts of an expression
Lin Mag
|z| = sqrt ( x
2
 + y
2
 )
dB Mag dB Mag(z) = 20 * log|z| dB
round x real ⇒ round(x) rounds x to the closest integer (away from zero for
ties)
x,y real ⇒ round(x+yj) = round(x)+round(y)j
x
y
Exponential, e.g. z
2
Arg Phase φ (z) = arctan ( Im(z) / Re(z) )
Re, Im x, y (Real and Imag)
log, ln Common (base 10) or natural (base e) logarithm
Min, Max Smaller or larger values of all points of two traces, e.g.
Min(Trc1,Trc2)
StimVal *) Stimulus value*)
tan, atan, sin, asin, cos, acos Direct and inverse trigonometric functions.
Traces softtool