
68
Chapter 4
Preparing For Accurate Measurement
Fixture Compensation
Example 4-4 shows a sample program that takes in data for use in fixture compensation.
This sample program is given the file name com_inpu.bas and is stored on the sample
program disk.
This program reads open data, short data and load data from the files (COM_DATA and
STD_VAL) retained by the program shown in Example 4-3 and sets them.
Lines 50 to 140
These lines distinguish between the external controller and Instrument
BASIC and set the GPIB address and the select code. In the case of
Instrument BASIC, flash memory is used as the storage unit.
Lines 150 to 180 These lines substitute the selection of data measurement points, the
number of compensation data measurement points (100 for fixed
measurement points), the name of the file for reading compensation
data, and the name of the file for reading standard value to the
variables Cal_point$, Point, File$ and Std_file$, respectively.
Lines 220 to 250 These lines reset the Agilent 4294A and then assign the data
measurement points to Cal_point$.
Lines 290 to 310 These lines read open data, short data and load data from the file
named File$ in the sequence shown in Example 4-3 to store them in
the arrays Com_o(*), Com_s(*), and Com_l(*), respectively.
Lines 330 to 350 These lines read open/short/load standard values from the file named
Std_file$ in sequence as written in Example 4-3 and store them in the
variables Open_g, Open_c, Short_r, Short_l, Load_r, and Load_l
respectively.
Lines 390 to 440 These lines set the standard values. The open standard capacitance
needs to be in femtofarad, so these lines make the necessary
conversion.
Line 480
This line selects the IEEE 64-bit floating-point format for the data
transfer format.
Line 490
This line calculates data size from the program variable Point and
creates a header to be used at the time of data transfer.
Lines 510 to 580 These lines enter data for open/short/load compensation. When the
data are entered, the open/short/load compensation of the fixture
compensation functions is turned on.
Example 4-4
Data entry for fixture compensation
10 DIM Header$[9],Cal_point$[9],File$[20],Std_file$[20]
20 DIM Com_o(1:100,1:2),Com_s(1:100,1:2),Com_l(1:100,1:2)
30 REAL Open_g,Open_c,Short_r,Short_l,Load_r,Load_l
40 INTEGER Scode,Point
50 IF SYSTEM$("SYSTEM ID")="HP4294A" THEN
60 ASSIGN @Hp4294a TO 800
70 ASSIGN @Binary TO 800;FORMAT OFF
80 MASS STORAGE IS ":INTERNAL1,5"
90 Scode=8
100 ELSE
110 ASSIGN @Hp4294a TO 717
120 ASSIGN @Binary TO 717;FORMAT OFF
130 Scode=7
140 END IF
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...