Sample Program - Agilent Technologies 4288A Programming Manual

1khz/1mhz capacitance meter
Table of Contents

Advertisement

Sorting Based on Measured Result (Comparator Function)

Sample Program

Example 7-1 shows a sample program of the BIN sort function. This program is stored on
the sample program disk under the filename "bin_sort.bas".
This program sets up the limit ranges as shown in the below table, performs measurement
50 times, and then reads out and displays the measured result and comparator sorting result
for each measurement. Then, it reads out and displays the sort count for each BIN after the
completion of all measurements.
BIN1
BIN2
BIN3
Secondary parameter
The program is detailed below:
Line 60
Sets the GPIB address.
Lines 80 to 100
Assigns the settings of the primary parameter (Cp), secondary
parameter (D), and measurement range (1 nF) to the Pri$, Sec$, and
Range$ variables, respectively.
Lines 120 to 130
Assigns the limit range designation method (percent tolerance mode)
and reference value (1 nF) to the Mode$ and Nom variables,
respectively.
Lines 140 to 220
Assigns the lower limit values and upper limit values of BIN1 to BIN3
to the L_lim(*) and U_Lim(*) variables, respectively.
Lines 230 to 250
Assigns the lower limit value and upper limit value of the secondary
parameter limit range to the L_lim_sec and U_lim_sec variables,
respectively.
Lines 270 to 290
Assigns the ON/OFF state of the AUX BIN function, the ON/OFF
state of the Low C reject function, and the limit (10%) to the Aux$,
Low_c_rej$, and Low_c_rej_lim variables, respectively.
Line 310
Resets the instrument.
Lines 350 to 370
Sets the primary parameter, secondary parameter, and measurement
range to Pri$, Sec$, and Range$, respectively.
Lines 410 to 420
Sets the limit range designation method and reference value to Mode$
and Nom, respectively.
Lines 430 to 460
Sets the lower limit values and upper limit values of BIN1 to BIN3 to
L_lim(*) and U_Lim(*), respectively, and turns ON BIN1 to BIN3.
Lines 470 to 490
Turns OFF BIN4 to BIN9.
Lines 500 to 510
Sets the lower limit value and upper limit value of the secondary
parameter limit range to L_lim_sec and U_Lim_sec, respectively, and
turns ON the secondary parameter limit range.
Chapter 7
Lower limit value
-1%
-2%
-3%
0
Sample Program
Upper limit value
1%
2%
3%
0.1
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents