Specifications

58 Chapter 4
Preparing for Accurate Measurement
Running the Compensation Process
The Set_comp_kit subprogram in lines 1730 to 2350, which configures the compensation
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 definitions (4287A's predefined
values or custom settings).
Lines 1810 to 1840 Displays the list of compensation kit definitions 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 subprogram configures the 4287A to use its built-in
definition for the compensation kit values.
Line 1920 If Kit is 2, the subprogram configures the instrument to use a
user-defined compensation kit. The description below assumes that Kit
is 2.
Lines 1940 to 2020 Displays the list of modes for defining the compensation 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 compensation 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 compensation kit in point-by-point mode and then retrieves
the number of points and stores the number into the Nop variable.
Lines 2130 to 2230 Iterates the following steps Nop times.
1. Lines 2140 to 2160: If Nop is 2 or greater, the program displays
each measurement point that requires definition.
2. Lines 2170 to 2200: Passes control to the Inp_data subprogram to
acquire the OPEN and standard values from user input.
3. Lines 2210 to 2220: Configures each standard with the entered
values.
Lines 2250 to 2260 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 2270 to 2320 If the user presses the y key in response to line 2260, the program
acquires the definitions for R
dc
measurement from the user input and
configures the standards accordingly.