Programming examples
R&S
®
ZNA
1631User Manual 1178.6462.02 ─ 20
// set cal power to -40dBm for port 1 (driving port)
// switch state on (i.e. overriding of value from user setup)
SENSe1:CORRection:ADVanced:POWer1:STATe ON
// with 40dB step attenuator this gives 0dBm for Source Power:
SENSe1:CORRection:ADVanced:POWer1 0
// begin calibration
SENS1:CORR:COLL:PMET:ID 1, 1
// last parameter: port for power meter measurment during SMARTer Cal
// perform either a manual calibration or a CalUnit calibration
// manual calibration
SENS1:CORR:COLL:METH:DEF 'nf_cal', POPTport, 1, 2
// The first port is the source port.
// power meter
SENSe1:CORRection:COLLect:ACQuire:SELected POWer, 1
// one port standards
SENSe1:CORRection:COLLect:ACQuire:SELected OPEN, 1
SENSe1:CORRection:COLLect:ACQuire:SELected SHORT, 1
SENSe1:CORRection:COLLect:ACQuire:SELected MATCh, 1
// through
SENSe1:CORRection:COLLect:ACQuire:SELected THRough, 1, 2
// termination for receiver noise cal
SENSe1:CORRection:COLLect:ACQuire:SELected TERMination, 2
SENS1:CORR:COLL:SAVE:SEL
// CalUnit cal
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment:DELete:ALL
:SENSe1:CORRection:COLLect:AUTO:CONFigure PFNPort, ''
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:DEFine 1,1, 2,2
// measure first with the CalUnit
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:ACQUire
:SENSe1:CORRection:COLLect:AUTO:POWer 1
:SENSe1:CORRection:COLLect:AUTO:TERMination 2
// end calibration
// Setup Traces
// NF
CALCulate1:PARameter:MEASure 'Trc1', 'NF21'
// Gain
:CALCulate1:PARameter:SDEFine 'Trc2', 'B2/A1'
:DISPlay:WINDow1:TRACe:EFEed 'Trc2'
Condensed programming examples