R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Programming Examples
Condensed Programming Examples
Operating Manual 1145.1084.12 – 30 1101
// Note: The previous SAVE command switches the correction ON !
:SENSe1:CORRection:NFIGure? %1
:SENSe1:CORRection:NFIGure OFF
:SENSe1:CORRection:NFIGure ON
:SENSe1:CORRection:NSTate? %'NCa?'
// Noise figure calibration with external attenuator
:SENSe1:CORRection:COLLect:NFIGure:STARt 1, 2, ON, 30, 30
:SENSe1:CORRection:COLLect:NFIGure:ACQuire RECeiver
:SENSe1:CORRection:COLLect:NFIGure SOURce
:SENSe1:CORRection:COLLect:NFIGure ATTenuator
:SENSe1:CORRection:COLLect:NFIGure:SAVE
// Noise figure without ext. attenuator --> The third (unnecessary) cal. step fails
:SENSe1:CORRection:COLLect:NFIGure:STARt 1, 2, OFF, 30, 30
:SENSe1:CORRection:COLLect:NFIGure:ACQuire RECeiver
:SENSe1:CORRection:COLLect:NFIGure SOURce
:SENSe1:CORRection:COLLect:NFIGure ATTenuator |-200
:SENSe1:CORRection:COLLect:NFIGure:SAVE
// If a ...:STARt command sequence is not terminated by a ...:SAVE,
// an ...:END command has to be used (to enable measurement sweeps)
:SENSe1:CORRection:COLLect:NFIGure:STARt 1, 2, OFF, 0, 0
:SENSe1:CORRection:COLLect:NFIGure:ACQuire RECeiver
// calibration has not been finished !!!
:SENSe:CORRection:COLLect:NFIGure:END
// Adjust channel settings to previous noise figure calibration
:CALCulate1:PARameter:NFIGure:CSETtings 'Trc1'
:CALCulate1:PARameter:MEASure 'Trc1', 'NF21'
Memory Traces
The following example shows how to work with memory traces.
// Reset the analyzer
*RST
:SYSTEM:DISPLAY:UPDATE ON
:SENSE1:SWEEP:POINTS 20