User`s guide

Table Of Contents
70 Chapter 4
Performing a Calibration
Sample Program
The Cal_solt subprogram in lines 1370 to 1900, which performs full n-port calibration, is
described below.
Line 1410 Displays the calibration type.
Lines 1450 to 1490 These lines configure the instrument to perform full Num_of_ports
port calibration on the ports identified by Port(1) trough
Port(Num_of_ports).
Lines 1630 to 1690 These lines make up a loop that iterates while incrementing i from 1 to
Num_of_ports.
Lines 1540 to 1550: Prompt the user to connect an OPEN standard
to port Port(i), and wait for a press of the [Enter] key after the
connection.
Lines 1560 to 1580: Execute the OPEN calibration data
measurement command on port Port(i), and wait until the
measurement completes successfully.
Lines 1590 to 1600: Prompt the user to connect a SHORT standard
to port Port(i), and wait for a press of the [Enter] key after the
connection.
Lines 1610 to 1630: Execute the SHORT calibration data
measurement command on port Port(i), and wait until the
measurement completes successfully.
Lines 1640 to 1650: Prompt the user to connect a LOAD standard
to port Port(i), and wait for a press of the [Enter] key after the
connection.
Lines 1660 to 1680: Execute the LOAD calibration data
measurement command on port Port(i), and wait until the
measurement completes successfully.
Lines 1730 to 1840 These lines make up a loop that iterates while incrementing i from 1 to
Num_of_ports-1 and j from i+1 to Num_of_ports.
Lines 1750 to 1760: Prompt the user to connect a THRU standard
between port Port(i) and port Port(j), and wait for a press of the
[Enter] key after the connection.
Lines 1770 to 1790: Execute the THRU calibration data
measurement command on response port Port(i) and stimulus port
Port(j), and wait until the measurement completes successfully.
Lines 1800 to 1820: Execute the THRU calibration data
measurement command on response port Port(j) and stimulus port
Port(i), and wait until the measurement completes successfully.
Line 1880 Calculates the calibration coefficients and turns on error correction.
Line 1890 Displays a closing message.