
Programming Examples
R&S
®
ZNB/ZNBT
1367
User Manual 1173.9163.02 ─ 53
The power meter and a four-port calibration unit has to be configured beforehand.
// Reset the analyzer
*RST
// Define the mixer
SENSe1:SWEEp:TYPE LINear
SENSe1:SWEEp:POINts 201
SENSe1:FREQuency1:STARt 500 e6 // start : 500 MHz
SENSe1:FREQuency1:STOP 2.5 e9 // stop : 2.5 GHz
SOURce1:POWer1 0 // Base power
SENSe1:FREQuency1:CONVersion:MIXer:FIXed LO
SENSe1:FREQuency1:CONVersion:MIXer:FUND RF
SENSe1:FREQuency1:CONVersion:MIXer:LOINternal 3 // LO port 3
SENSe1:FREQuency1:CONVersion:MIXer:TFRequency UCON // RF + LO
SENSe1:FREQuency1:CONVersion:MIXer:FFIXed 200 MHz // LO frequency
SOURce1:FREQuency1:CONVersion:MIXer:PFIXed 7 // LO power
SENSe1:FREQuency1:CONVersion MIXer // activate mixer
// Perform a SMARTerCal (CalU) on Ports 1, 2 and 3
SENSe1:CORRection:COLLect:PMETer:ID 1,1 // Powermeter on port1
//############ please connect VNA-ports 1,2,3 to Calu-ports 1,2,3
SENSe1:CORRection:COLLect:AUTO:PORTs:TYPE PFNPort, '', 1, 1, 2, 2, 3, 3
//############# please connect Powermeter to port 1
SENSe1:CORRection:COLLect:AUTO:POWer 1
// Perform a Source Flatness Cal on Ports 1, 2 and 3
//Start with LO (=port3)
//############### please connect Mixer (port1=RF, port2=IF, port3 = LO)
SOURce1:POWer1:CORRection:ACQuire PORT,3
//calibration of RF (=port1)
//############### Mixer connected ?
SOURce1:POWer1:CORRection:ACQuire PORT,1
//calibration of IF (=port2)
//############### Mixer connected ?
SOURce1:POWer1:CORRection:ACQuire PORT,2
Condensed Programming Examples