
R&S ZVL
Programming Examples
Basic Tasks
Operating Manual 1303.6580.32-05
567
Diagram areas are referenced by a window suffix <Wnd>. An additional suffix <WndTr> in the
DISPlay:WINDow<Wnd>:TRACe<WndTr>...
commands numbers the different traces in a
diagram area.
The analyzer provides several commands allowing a smooth transition between remote and
manual control.
//
// 1. Create all channels and traces
// Reset the instrument, creating the default trace Trc1 in channel 1.
// The default measured quantity is the forward transmission S-parameter S21.
// The default format is dB Mag.
*RST
//
// Create two more traces in channel 1, assigning a trace name and a measured quantity
// to each of them
.
Choose descriptive trace names (instead of the short default names used above).
CALCulate1:PARameter:SDEFine 'Impedance_trace', 'Z-S21'
// the trace becomes the active trace
for channel 1 but is not displayed
CALCulate1:PARameter:SDEFine 'Admittance_trace', 'Y-S21'
// the trace becomes the active trace
for channel 1
//
// Create channel 2 with one new trace, channel 3 with two new traces
.
CALCulate2:PARameter:SDEFine 'Ratio_trace', 'B1/B2'
CALCulate3:PARameter:SDEFine 'Z_trace', 'Z21'
CALCulate3:PARameter:SDEFine 'Y_trace', 'Y21'
CALCulate3:PARameter:SELect 'Z_trace' //
the trace created previously becomes the active
trace for channel 3
// So far, only the default trace is displayed.
//
//
Check the result in the trace manager
// The trace manager gives an overview of the current channel/trace configuration
DISPlay:MENU:KEY:EXECute 'Trace Manager'