Specifications
98 Chapter 4
Preparation for Accurate Measurement
Fixture Compensation
read and write operations of the fixture compensation coefficient.
Lines 940 - 950 Prompts connection of the standard for fixture compensation
measurement specified by the variable Standard$ and waits for the
input of
[Y] or [y] after the connection.
Line 970 Clears the status byte register and operation status event register.
Lines 980 - 990 Sets the operation status event register bit 7 to 1 only when the
operation status condition register bit 7 transits from 1 to 0 (negative
transition).
Lines 1000 - 1010 Sets the operation status condition so that register bit 7 is enabled and,
upon completion of fixture compensation, sets it so that status byte
register bit 7 is enabled.
Lines 1020 - 1030 Sets the branch for SRQ interruption and enables SRQ interruption.
Lines 1040 - 1090 Sends the execute command for the fixture compensation of the
standard specified by the variable Standard$ and measures the fixture
compensation data.
Lines 1100 - 1110 Displays a message indicating measurement is in progress and waits
for completion of the measuring.
Lines 1130 - 1290 Checks whether a GPIB error occurred in the E4991A during
measurement. If no error occurred, displays a message indicating
completion of measurement and returns a value of 0 from the function
sub-program. If an error occurred, displays an error message and a
measurement halt message and returns a value of -1 from the function
sub-program.
Lines 1340 - 1350 Prompts the input of the standard value of the user-defined fixture
compensation kit specified by the variable Mes$ and waits for the
input.
Lines 1360 - 1390 Displays the input value and waits for input (made by using the [Y/N]
keys) on whether it is accurate. If a key other than
[Y] or [y] is pressed,
it returns to the first line of the input.
Example 4-5 Measurement of fixture compensation data (HTBasic)
10 DIM Inp_char$[9],Buff$[9],File$[20]
20 DIM Fix_type$[9],Cal_point$[9]
30 DIM Comp_a(1:801,1:2),Comp_b(1:801,1:2)
40 REAL E_length,Open_g,Open_c,Short_r,Short_l
50 INTEGER Result,Nop_comp,Data_size
60 !
70 CLEAR SCREEN
80 ASSIGN @Agte4991a TO 717
90 !
100 ! Initial Setting
110 !
120 Fix_type$="USER" !
USER/FXT16191A/FXT16192A/.....
130 Cal_point$="FIX" ! FIX/FUS/USER
140 !
150 OUTPUT @Agte4991a;"SENS:CORR2:FIXT "&Fix_type$
160 OUTPUT @Agte4991a;"SENS:CORR2:COLL:FPO "&Cal_point$
170 !