Programming examples
R&S
®
ZNA
1625
User Manual 1178.6462.02 ─ 20
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
// Create channels and traces for measurement
//ch1 : Trc1 (=s21), rename Trace
CONFigure:CHANnel1:TRACe:REName 'Conv'
//Ch1 : Tr2 und Trc3 (Trc1 still defined)
CALCulate1:PARameter:SDEFine 'RF_Refl','S11'
DISPlay:WINDow1:TRACe2:FEED 'RF_Refl'
CALCulate1:PARameter:SDEFine 'IF_Refl','S22'
DISPlay:WINDow1:TRACe3:FEED 'IF_Refl'
//Ch2 : Trc4
CONFigure:CHANnel2 ON // channel 2
CALCulate2:PARameter:SDEFine 'RF_Isol','S21'
DISPlay:WINDow1:TRACe4:FEED 'RF_Isol'
//Ch3 : Trc5, 6
CONFigure:CHANnel3 ON // channel 3
CALCulate3:PARameter:SDEFine 'LO_Leak','S13'
DISPlay:WINDow1:TRACe5:FEED 'LO_Leak'
Condensed programming examples