R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Programming Examples
Condensed Programming Examples
Operating Manual 1145.1084.12 – 30 1118
:SYSTem:COMMunicate:RDEVice:PMETer:DELete
// Define external devices
:SYSTem:COMMunicate:RDEVice:PMETer1:DEFine 'Power Meter 1', 'NRVD', 'VXI-11', '127.0.0.0'
// Measure b2 instead of default parameter S21
:CALCulate1:PARameter:MEASure 'Trc1', 'b2
// Create a new trace Trc2 with the b4 wave and display it
:CALCulate1:PARameter:SDEFine 'Trc2', 'B4'
:DISPlay:WINDow1:TRACe2:FEED 'Trc2'
// Set sweep parameters: Start and Stop frequency, No. of Points, IF Bandwidth and Power
:SENSe1:FREQuency:STARt 300 KHZ
:SENSe1:FREQuency:STOP 1.0 GHZ
:SENSe1:SWEEp:POINts 51
:SENSe1:BANDwidth 10000
:SOURce1:POWer -10
// Configure source power calibration sweeps.
// Set number of readings, tolerance and no verification sweep for the power calibration
:SOURce:POWer:CORRection:COLLect:AVERage:COUNt 3
:SOURce:POWer:CORRection:COLLect:AVERage:NTOLerance 0.1 dB
:SOURce:POWer:CORRection:COLLect:ACQuire:VERification OFF
// Enable the source power calibration
:SOURce:POWer:CORRection:COLLect:FLATness ON
// Enable reference receiver calibration within the source power calibration
:SOURce:POWer:CORRection:COLLect:RRECeiver ON
// Set ID of the power meter used for the calibration
:SOURce:POWer:CORRection:PMETer:ID 1
// Switch off all other sources during cal sweep
:SOURce:POWer:CORRection:OSOurces OFF
// Initiate source power cal of port 1
:SOURce1:POWer:CORRection:ACQuire PORT, 1
:SOURce1:POWer1:CORRection:STATe ON