Specifications
44 Chapter 4
Preparing for Accurate Measurement
Performing Calibration
The Set_cal_kit subprogram in lines 1720 to 2750, which configures the calibration kit, is
described below.
Line 1790 Allows the user to return to the entry start line and re-enter the data if
an error (such as an invalid entry) occurs while entering the number
that identifies the calibration kit.
Lines 1810 to 1840 Displays the list of supported calibration kits and prompts the user to
choose one of the items by typing in the appropriate number.
Line 1850 Converts the entered value into an integer and stores it into the Kit
variable.
Line 1860 If Kit is neither 1 nor 2, the program returns to the entry start line.
Line 1900 If Kit is 1, the program configures the instrument to use the 7 mm
calibration kit.
Line 1920 If Kit is 2, the program configures the instrument to use a user-defined
calibration kit. The description below assumes that Kit is 2.
Lines 1940 to 2020 Displays the list of modes for defining the calibration kit and prompts
the user to choose one of the items by typing in the appropriate
number. Then the program converts the entered value into an integer
and stores it into the Def variable.
Lines 2050 to 2060 If Def is 1, the program configures the instrument so that the user can
define the calibration kit in fixed mode and stores “1” into the Nop
variable, which indicates the number of measurement points that
require definitions.
Lines 2080 to 2100 If Def is 2, the program configures the instrument so that the user can
define the calibration kit in point-by-point mode, and then retrieves the
number of points and stores the number into the Nop variable.
Lines 2130 to 2220 Displays the list of parameter types that can be used to define the
LOAD standard and prompts the user to choose one of the items by
typing in the appropriate number. Then the program converts the
entered value into an integer and stores it into the Load_para variable.
Lines 2230 to 2360 Sets the parameter type for defining the LOAD standard based on
Load_para and stores the parameter names into the Para1$ andPara2$
variables.
Lines 2380 to 2510 Iterates the following steps Nop times.
1. Lines 2390 to 2410: If Nop is 2 or greater, the program displays
each measurement point that requires a definition.
2. Lines 2420 to 2470: Passes control to the Inp_data subprogram to
acquire the OPEN, SHORT, or LOAD standard values from user
input.
3. Lines 2480 to 2500: Configures each standard with the entered
values.
Lines 2530 to 2540 Prompts the user to confirm whether to define the standards for R
dc
measurement and waits until the user presses the y or n key.
Lines 2550 to 2620 If the user presses the y key in response to line 2540, the program
acquires the definitions for R
dc
measurement from user input and
configures the standards accordingly.