Programming examples
R&S
®
ZNB/ZNBT
1522
User Manual 1173.9163.02 ─ 62
// Select an ICS
SYSTem:COMMunicate:RDEVice:AKAL:ADDRess 'ZN-Z30-02::100010'
// Query ICU addresses
SYST:COMM:RDEV:AKAL:ADDR:SUBM:ALL?
// Returns something like
// '[1]ZN-Z33-02::101325,[2]ZN-Z33-02::101325,[3]ZN-Z33-02::101339'
// Perform a complete UOSM calibration
SENSe1:CORRection:COLLect:AUTO:CPORt 1
SENSe1:CORRection:COLLect:AUTO:TEMPcomp OFF
SENSe1:CORRection:COLLect:AUTO:CONFigure FNPort, ''
SENSe1:CORRection:COLLect:AUTO:ASSignment:DELete:ALL
// let's assume ICU [i] is connected to VNA port i
SENSe1:CORRection:COLLect:AUTO:ASSignment1:DEFine 1, 1, 2, 2
// Step 1: OSM
SENSe1:CORRection:COLLect:AUTO:ASSignment1:ACQUire
// Step 2: Unknown Through
SENSe1:CORRection:COLLect:AUTO:UTHRough 1, 2
SENSe1:CORRection:COLLect:AUTO:SAVE
Repeat OSM only
SENSe1:CORRection:COLLect:AUTO:CONFigure FNPort, ''
SENSe1:CORRection:COLLect:AUTO:ASSignment:DELete:ALL
SENSe1:CORRection:COLLect:AUTO:ASSignment1:DEFine 1, 1, 2, 2
SENSe1:CORRection:COLLect:AUTO:REPeat // we will not repeat step 2
SENSe1:CORRection:COLLect:AUTO:ASSignment1:ACQUire
SENSe1:CORRection:COLLect:AUTO:SAVE
8.2.6
Mixer measurement
The following example is a remote implementation of the tasks the
performs at the GUI.
A power meter and a four-port calibration unit has to be connected and configured
beforehand.
// Reset the analyzer
*RST
// Configure a linear frequency sweep
SENSe1:SWEEp:TYPE LINear // Sweep type
SENSe1:SWEEp:POINts 201 // Number of points
SENSe1:FREQuency:STARt 500 MHZ // Start frequency
Condensed programming examples