Test 2-9: Total Harmonic Distortion (cont’d)
Test Procedure
(cont’d)
Table 2-9. THD Test Points
Frequency
(Hz) Test Limits*
(dBc)
100 E3
250 E3
1 E6
4 E6
10 E6
-60
-60
-48
-36
-36
* Through 9th harmonic
Example Program

This program performs the Total Harmonic Distortion Test.

10 ! RE-STORE "SINE_THD"
20 DIM Freq(1:5)
30 !
40 !---------- Set up I/O path and reset AFG ----------
50 ASSIGN @Afg TO 70910 !AFG I/O path
60 OUTPUT @Afg;"*RST;*CLS" !Reset AFG
70 !
80 !---------- Ini tialize variables ----------
90 Dbm_out$="24DBM" !AFG output
100 !
110 DATA 100E3,250E3,1E6,4E6,10E6 !Read in freqs
120 READ Freq(*)
130 !
140 !---------- Set u p S p ec Analyzer ----------
150 CLEAR SCREEN
160 PRINT "Set up Spectrum Analyzer:"
170 PRINT
180 PRINT " Ref Level = 25 dBm"
190 PRINT " Span = 1 kHz"
200 PRINT " Resolution BW = 30 Hz"
210 PRINT " Video BW = 30 Hz"
220 PRINT
(Continued on next page)
66 Verification Te sts Agilent E1445A Serv ice Manual