User`s guide

Table Of Contents
Chapter 4 69
Performing a Calibration
Sample Program
4. Performing a Calibration
The Cal_resp subprogram in lines 1050 to 1170, which performs response calibration
(OPEN/SHORT), is described below.
Line 1080 Displays the calibration type.
Line 1090 Configures the instrument to perform response calibration (Type$) on
the port identified by the Port variable.
Lines 1100 to 1110 These lines prompt the user to connect a Type$ to port Port, and wait
for a press of the [Enter] key after the connection.
Lines 1120 to 1140 These lines execute the calibration data measurement command
identified by Type$ on port Port, and wait until the measurement
completes successfully.
Line 1150 Calculates the calibration coefficients and turns on error correction.
Line 1160 Displays a closing message.
The Cal_resp_thru subprogram in lines 1210 to 1330, which performs response calibration
(THRU), is described below.
Line 1240 Displays the calibration type.
Line 1250 Configures the instrument to perform response calibration (THRU) on
response port Port 1 and stimulus port Port 2.
Lines 1260 to 1270 These lines prompt the user to connect a THRU standard between the
ports identified by Port1 and Port2, and wait for a press of the [Enter]
key after the connection.
Lines 1280 to 1300 These lines execute the TURU calibration data measurement
command on response port Port1 and stimulus port 2, and wait until
the measurement completes successfully.
Line 1310 Calculates the calibration coefficients and turns on error correction.
Line 1320 Displays a closing message.