Programming Examples
R&S
®
ZNB/ZNBT
1241
User Manual 1173.9163.02 ─ 38
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'
CALCulate3:PARameter:SDEFine 'LO_Thru','S23'
DISPlay:WINDow1:TRACe6:FEED 'LO_Thru'
//channel names
CONFigure:CHANnel1:NAME 'Ch_M'
CONFigure:CHANnel2:NAME 'CH_RF'
CONFigure:CHANnel3:NAME 'CH_LO'
// Adjust channels for measurement
//channel 1 (arbitrary) remains unchanged
//channel 2 (base frequency), reset arbitrary mode
SENSe2:FREQuency1:CONVersion FUNDamental
// trace RF_Isol in channel Ch_RF is measured with active LO!
SOURce2:FREQuency3:CONVersion:ARBitrary:IFRequency 1, 1, 3 GHz, FIXed
SOURce2:POWer3:PERManent:STATe ON
//channel 3 (LO freqeuncy), reset arbitrary and set LO-frequencies
SENSe3:FREQuency1:CONVersion FUNDamental
//LO-fix : Start=Stop, sweep-points = 1
SENSe3:SWEep:POINts 1
Condensed Programming Examples