R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Programming Examples
Condensed Programming Examples
Operating Manual 1145.1084.12 – 30 1100
// Alternative, more compact definition
MMEMory:CDIRectory DEFault
MMEMory:STORe:TRACe 'Trc1', 'Traces\S21.s1p'
You may also read the default path (MMEMory:CDIRectory?) and use the external RC program to build
the complete paths.
Noise Figure Measurement
The following example shows how to calibrate and perform a noise figure measurement.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
// Reduce number of sweep points for slow measurement
:SENSe1:SWEep:POINts 11
// Configure measurement (dialog "Define Noise Figure Measurement")
:SENSe1:SWEep:DETector:TIME 40 ms
:SENSe1:NFIGure:SEQuential OFF // simultaneous
:SENSe1:NFIGure:ISNoise OFF // Do not assume Ideal T0 Source Noise
:SENSe1:NFIGure:RFICorr OFF // Do not apply RF image correction
:SENSe1:NFIGure:NDUT OFF // Assume normal (no narrowband) DUT
// Configure meas. and noise figure calibration (dialog "Noise Figure Calibration")
:SENSe1:BANDwidth:RESolution 5 MHz
:SENSe1:BANDwidth:RESolution:SELect HIGH
:SENSe1:POWer:IFGain2:MEASure LNOise
//:SENSe1:POWer:IFGain1:REFerence LDIStortion
// Perform noise figure measurement (uncalibrated)
:SENSe1:CORRection:NFIGure? %0
:CALCulate1:PARameter:MEASure 'Trc1', 'NF21'
:CALCulate1:PARameter:MEASure? 'Trc1' %'NF21'
// Noise figure calibration without external attenuator
:SENSe1:CORRection:COLLect:NFIGure:STARt 2, 1, OFF, 10, 20
:SENSe1:CORRection:COLLect:NFIGure:ACQuire RECeiver
:SENSe1:CORRection:COLLect:NFIGure SOURce
:SENSe1:CORRection:COLLect:NFIGure ATTenuator
:SENSe1:CORRection:COLLect:NFIGure:SAVE