Chapter 4 47
Preparation for Accurate Measurement (Executing Compensation)
Using the Multi-compensation Function
4. Preparation for
Accurate Measurement
(Executing Compensation)
Sample program
Example 4-3 shows a sample program to execute multi-compensation. This program is
stored on the sample program disk under the filename “multi.bas.”
This program defines a different LOAD compensation standard value for each channel and
executes the OPEN/SHORT/LOAD compensation for four channels (0 to 3).
The program is detailed below.
Line 40 Sets the GPIB address.
Line 60 Performs a reset.
Lines 70 to 80 Turns ON the multi-compensation function and then selects the
channel-by-channel definition for the LOAD compensation standard
value.
Line 90 Makes the setup display the multi-compensation function setup in the
instrument setup display area.
Lines 110 to 160 Repeats the following four times (channels: 0 to 3).
1. Line 120: Displays the channel.
2. Line 130: Sets up the channel of the 4288A.
3. Line 140: Uses the FNCompen sub-program to execute the OPEN
compensation. For information on the FNCompen sub-program,
refer to the description in Example 4-1 on page 40.
Lines 170 to 220 Repeats the following four times (channels: 0 to 3).
1. Line 180: Displays the channel.
2. Line 190: Sets up the channel of the 4288A.
3. Line 200: Uses the FNCompen sub-program to execute the
SHORT compensation.
Lines 230 to 280 Repeats the following four times (channels: 0 to 3).
1. Line 240: Displays the channel.
2. Line 250: 4288ASets up the channel of the 4288A.
3. Line 260: Uses the FNCompen sub-program to execute the LOAD
compensation.