Test 2-4: AC Accuracy (cont’d)
Example Program

This program performs the AC Accuracy Tes t.

10! RE-STORE "AC_LEVELS"
20 DIM Vout(1:9),Filter(1:9)
30 !
40 !---------- Set up I/O path and reset AFG ----------
50 ASSIGN @Afg TO 70910
60 OUTPUT @Afg;"*RST;*CLS" !Reset AFG
70 !
80 !---------- Ini tialize variables ----------
90 DATA 7.239,6.45,5.75,4.566,2.8818,1.4444,.229,7.239,7.239
100 READ Vout(*)
110 !
120 DATA 0,0,0,0,0,0,0,1,2
130 READ Filter(*)
140 !
150 !---------- Set u p DMM ----------
160 CLEAR SCREEN
170 PRINT "Set up DMM:"
180 PRINT
190 PRINT " Function -- ACV"
200 PRINT " Range -- AUTO"
210 PRINT
220 PRINT "Connect DMM HI and LO to AFG Output."
230 DISP "Press ’Continue’ when ready"
240 PAUSE
250 CLEAR SCREEN
260 !
270 !---------- Set u p A F G ----------
280 OUTPUT @Afg;"*RST" !Reset AFG
290 WAIT .5
300 OUTPUT @Afg;"FREQ 1E3;"; !Set freq to 1 kHz
310 OUTPUT @Afg;":VOLT MAX;"; !MAX amplitude
320 OUTPUT @Afg;":OUTP:LOAD INF" !Infinite load
340 OUTPUT @Afg;"CAL:STAT:AC OFF" !AC corrections off
350 OUTPUT @Afg;"INIT:IMM" !Initiate
360 WAIT .5
370 !
380 !---------- Per form test ----------
390 PRINT "FILTER","AMPLITUDE"
400 PRINT
410 !
(Continued on next page)
Agilent E1445A Service Manual Verification Tests 47