Programming Examples
R&S
®
ZNC
730
User Manual 1173.9557.02 ─ 13
Performing a Calibration, Saving the Error Terms
// Reset the analyzer
*RST
// Set frequency range
:SENSe1:FREQuency1:STARt 1GHz
:SENSe1:FREQuency1:STOP 4GHz
:SENSe1:SWEep:POINts 6
// Select calibration type: TOSM at ports 1 and 2
:SENSe1:CORRection:COLLect:METHod:DEFine 'Test SFK TOSM 12', TOSM, 1, 2
// Measure Standards
:SENSe1:CORRection:COLLect:ACQuire:SELected THROUGH, 1, 2
:SENSe1:CORRection:COLLect:ACQuire:SELected OPEN, 1
:SENSe1:CORRection:COLLect:ACQuire:SELected SHORT, 1
:SENSe1:CORRection:COLLect:ACQuire:SELected MATCH, 1
:SENSe1:CORRection:COLLect:ACQuire:SELected OPEN, 2
:SENSe1:CORRection:COLLect:ACQuire:SELected SHORT, 2
:SENSe1:CORRection:COLLect:ACQuire:SELected MATCH, 2
// Apply calibration
SENSe1:CORRection:COLLect:SAVE:SELected
// Save error terms
:FORMAT REAL,32
@TRACEFILE:scorr1.dat
:CALCulate1:DATA? SCORr1
@TRACEFILE:scorr2.dat
:CALCulate1:DATA? SCORr2
@TRACEFILE:scorr3.dat
:CALCulate1:DATA? SCORr3
// We are omitting the isolation term, as it is not implemented
// @TRACEFILE:scorr4.dat
// :CALCulate1:DATA? SCORr4
@TRACEFILE:scorr5.dat
:CALCulate1:DATA? SCORr5
@TRACEFILE:scorr6.dat
:CALCulate1:DATA? SCORr6
@TRACEFILE:scorr7.dat
:CALCulate1:DATA? SCORr7
@TRACEFILE:scorr8.dat
:CALCulate1:DATA? SCORr8
@TRACEFILE:scorr9.dat
:CALCulate1:DATA? SCORr9
// We are omitting the isolation term, as it is not implemented
Condensed Programming Examples