EasyManua.ls Logo

R&S ZNB Series - Page 1496

R&S ZNB Series
1611 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming examples
R&S
®
ZNB/ZNBT
1496User Manual 1173.9163.02 ─ 62
// 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 on the local screen
// Go to local
SYSTem:DISPlay:UPDate ONCE
// 2. Create second diagram and display traces
DISPlay:WINDow2:STATe ON
DISPlay:WINDow1:TRACe2:FEED 'Admittance_trace'
DISPlay:WINDow1:TRACe3:FEED 'Y_trace'
DISPlay:WINDow2:TRACe1:FEED 'Impedance_trace'
DISPlay:WINDow2:TRACe2:FEED 'Ratio_trace'
DISPlay:WINDow2:TRACe3:FEED 'Z_trace'
// Check the result on the local screen
// Go to local
SYSTem:DISPlay:UPDate ONCE
// 3. Check and modify your configuration
// Query the traces in channel 1.
CALCulate1:PARameter:CATalog?
// The response is 'Trc1,S21,Impedance_trace,Z-S21,Admittance_trace,Y-S21'
// Query the reference level for the 'Z_trace'.
// The trace is referenced by its number in diagram no. 2.
DISPlay:WINDow2:TRACe3:Y:RLEVel?
Basic tasks

Table of Contents

Related product manuals