Dc adjustment procedure (cont’d) – Agilent Technologies 75000 Series C User Manual

Page 92

Advertising
background image

DC Adjustment Procedure (cont’d)

Example Program

10 ! RE-STORE "DC_ADJUST"
30 !This program performs the firmware-guided DC adjustment procedure
40 !for the E1445A Arbitrary Function Generator. An 3458A DMM
50 !is required.
60 !
70 DIM Results(1:44)
80 INTEGER Cal_point,Max_cal_point,Problem,Err_num
90 !
100 !---------- Set up I/O paths ----------
110 ASSIGN @Afg TO 70910
120 ASSIGN @Dmm TO 722
130 !
140 !---------- Initialize variables ----------
150 Max_cal_point=44
160 Cal_point=0
170 Problem=0
180 Secure_code$="E1445A"
190 !
200 !---------- Initialize AFG and DMM ----------
210 OUTPUT @Afg;"*RST;*CLS"
220 OUTPUT @Dmm;"PRESET NORM"
230 !
240 !---------- Connections ----------
250 CLEAR SCREEN
260 PRINT "Connect the DMM to the AFG Output (4-wire connection)"
270 DISP "Press ’Continue’ when ready"
280 PAUSE
290 CLEAR SCREEN
300 !
310 !---------- Setup AFG ----------
320 Cal_point=1
330 OUTPUT @Afg;"CAL:SEC:STATE OFF,"&Secure_code$ !Disable cal security
340 OUTPUT @Afg;"CAL:DC:BEGIN"

!Begin DC cal

350 OUTPUT @Afg;"*OPC?"

!Wait for previous command to finish

360 ENTER @Afg;Not_busy
370 !
380 !---------- Start of loop ----------
390 REPEAT
400 DISP "DC Calibration in progress: Cal Point #"&VAL$(Cal_point)
410 !
420 GOSUB Setup_dmm

!Change DMM settings, if necessary

430 GOSUB Read_dmm

!Get reading

440 !

(Continued on next page)

90 Adjustments

Agilent E1445A Service Manual

Advertising
This manual is related to the following products: