R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Programming Examples
Basic Tasks
Operating Manual 1145.1084.12 – 30 1090
// 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'
//
// Check the result on the local screen
// Go to local
SYSTem:DISPlay:UPDate ONCE