Specifications

194 Chapter 15
Sample Application Programs
Measuring Array (Multi-Element) Components
The program is described in detail below:
Lines 90 to 100 Sets the GPIB address and select code.
Lines 140 to 150 Stores the number of times the measurement is performed (10) and the
number of required tables (4) into the Meas_max and Max_tab_no
variables, respectively.
Lines 160 to 200 Stores the unit of the signal source level (mV), the measurement
frequency (100 MHz), averaging count (1), the signal source level
(500 mV), and measurement parameter 1 (Ls) into the Unit$, Freq,
Ave, Pow, and Para1$ variables, respectively.
Lines 210 to 240 Stores the on/off settings for the screen display (on), screen display
update (off), beep (off), and key lock (on) into the Disp$, Update$,
Beep$, and Lock$ variables, respectively.
Lines 280 to 300 Based on the center value (10 nH) of the limit range of the
measurement value (Ls) and the relative boundary values (± 10%),
calculates the lower and upper limits and then stores them into the
L_lim and U_lim variables, respectively.
Lines 350 to 400 Stores the R
dc
measurement lower limit for the OPEN standard (100
W) into the Open_l_lim variable and the R
dc
measurement upper limit
for the SHORT standard (25 W) into the Short_u_lim variable.
NOTE The sample program sets the R
dc
limits for each standard by assuming only typical uses: a
lower limit of 100 W for the OPEN standard, an upper limit of 25 W for the SHORT
standard, and no limits for the LOAD standard. To gain more effective protection against
operational errors, however, it is recommended that you modify these values based on your
actual working standards; for more information, refer to “Preventing operational errors
when measuring data for calculating calibration coefficients” on page 40.
Lines 440 to 450 Resets the instrument and then sets the data transfer format to the
ASCII format.
Lines 460 to 500 For all the required tables (1 to Max_tab_no), stores the unit of the
signal source level into Unit$, the frequency at measurement point 1
into Freq, averaging count at measurement point 1 into Ave, and the
signal source level at measurement point 1 into Pow.
Lines 520 to 530 Turns on list measurement and turns off R
dc
measurement.
Line 540 Sets measurement parameter 1 to Ls.
Lines 550 to 590 Turns off the result display for measurement parameters 2–4 and
measurement signal level monitoring.
Lines 600 to 630 Turns off the screen display, screen display update, and beep.
Lines 640 to 660 Locks the front panel, keyboard, and mouse.
Lines 710 to 820 For all of the required tables (1 to Max_tab_no), configures the
calibration kit setup tables in the order of table number.
Lines 740 to 760: Configures the instrument to use the
user-defined calibration kit with values defined for each
measurement point and selects Rs-Ls as the defined parameter.