Programming examples
R&S
®
ZNA
1756User Manual 1178.6462.02 ─ 29
// connect the IF port (port 2) to calu port 2
// declare the port assignment
:SENSe1:CORRECTION:COLLECT:AUTO:ASSignment1:DEFine 1,1, 2,2
// Note: the following steps can be performed in any order
// acquire UOSM calibration data between RF and IF port
// currently, this must be the first calibration step
:SENSE1:CORRECTION:COLLECT:AUTO:ASSignment1:ACQUire
// connect the power meter to the RF port (port 1)
// and perform a receiver power calibration
:SENSe1:CORRection:COLLect:AUTO:POWer 1
// connect the calibration mixer and acquire calibration data
:SENSe1:CORRection:COLLect:AUTO:MIXer 1,2
This also works, but mind the order!
:SENSe1:CORRection:COLLect:AUTO:PORTs:TYPE VPUosm, '', 1,1, 2,2
:SENSe1:CORRection:COLLect:AUTO:MIXer 1,2
// receiver power cal must be last step!
:SENSe1:CORRection:COLLect:AUTO:POWer 1
CPUOSM calibration
A SMARTer UOSM scalar vector mixer calibration using a calibration unit, a power
meter and a calibration mixer.
Same procedure as described in "VPUOSM calibration" on page 1755; just replace
VPUosm by CPUosm.
8.2.6 Mixer measurement
The following example is a remote implementation of the tasks the Scalar Mixer Meas
setup dialog 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
SENSe1:FREQuency:STOP 2.5 GHZ // Stop frequency
SOURce1:POWer1 0 DBM // Base power
// Define the mixer
SENSe1:FREQuency:CONVersion:MIXer:STAGes 1 // Single mixer stage
Condensed programming examples