Programming Example; Before Executing Your Program; Error Messages - Agilent Technologies Agilent E5250A User Manual

Agilent technologies low leakage switch mainframe user's guide
Table of Contents

Advertisement

Programming the E5250A
Using the Capacitance Compensation Routine

Programming Example

The following program is an example for using the capacitance compensation
subprogram:
100 ! Example of Capacitance Compensation
110 !
120 Freq=1.E+6 ! MEASUREMENT FREQUENCY: 1MHz
130 L1=1.5 ! E5252A OUTPUT CABLE: 1.5m
140 L2_h=0 ! TRIAX CABLE High SIDE: none (0m)
150 L2_l=0 ! TRIAX CABLE Low SIDE: none (0m)
160 L3_h=2 ! COAX CABLE High SIDE: 2m
170 L3_l=2 ! COAX CABLE Low SIDE: 2m
180 !
190 OUTPUT @Hp4284;"FUNC:IMP CPG"
200 OUTPUT @Hp4284;"FREQ "&VAL$(Freq) ! SET MEAS FREQ
210 OUTPUT @Hp4284;"CORR:LENG 2M"
220 OUTPUT @Hp4284;"*TRG"
230 ENTER @Hp4284;C_m,G_m,Stat
240 !
250 Ccompen_5250(Freq,L1,L2_h,L2_l,L3_h,L3_l,C_m,G_m,C_c,G_c)
260 DISP "CORRECTED C DATA=";C_c
270 DISP "CORRECTED G DATA=";G_c
280 !
290 END

Before Executing Your Program

Before executing a program that uses the capacitance compensation subprogram,
you must link the subprogram to your program as follows. The subprogram is in an
ASCII file on the E5250A Program Disk.
1. GET the file C_COMPEN from the E5250A Program Disk.
GET "C_COMPEN"
2. RE-STORE the file.
RE-STORE "C_COM"
3. Load your program.
4. Link the subprogram to your program by using the LOADSUB statement.
LOADSUB ALL FROM "C_COM"

Error Messages

If error occurs, following error message is displayed, and program is paused:
Parameter Out of Range Improper parameter value. Confirm and enter the
6-32
! SET Cp-G FUNCTION
! SET 16048D LENGTH
available value.
Agilent E5250A User's Guide, Edition 11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agilent e5252aAgilent e5255a

Table of Contents