Example Program
10! RE-STORE "AC_LEVELS"
20 DIM Vout(1:7)
30 !
40 !---------- Set up I/O path ----------
50 ASSIGN @Afg TO 70910
60 !
70 !---------- Initialize variables ----------
80 DATA 7.239,6.45,5.75,4.566,2.881,1.440,.229
90 READ Vout(*)
100 !
110 !---------- Set up DMM ----------
120 CLEAR SCREEN
130 PRINT "Set up DMM:"
140 PRINT
150 PRINT " Function - ACV"
160 PRINT " Range - AUTO"
170 PRINT
180 PRINT "Connect DMM HI and LO to AFG Output."
190 DISP "Press ’Continue’ when ready"
200 PAUSE
210 CLEAR SCREEN
220 !
230 !---------- Set up AFG ----------
240 OUTPUT @Afg;"*RST;*CLS"
!Reset AFG
250 WAIT .5
260 OUTPUT @Afg;"FREQ 1E3;";
!Set freq to 1 kHz
270 OUTPUT @Afg;":OUTP:LOAD INF"
!Infinite load
280 OUTPUT @Afg;"VOLT:UNIT VRMS"
!Set units to VRMS
290 OUTPUT @Afg;"INIT:IMM"
!Initiate
300 WAIT .5
310 !
320 !---------- Perform test ----------
330 FOR I=1 TO 7
340 OUTPUT @Afg;"VOLT "&VAL$(Vout(I))
!Set amplitude
350 PRINT "OUTPUT VOLTAGE =";Vout(I)
360 WAIT .5
370 !
380 DISP "Record DMM reading, then press ’Continue’"
390 PAUSE
400 DISP
410 !
420 NEXT I
430 !
440 END
38 Verification Tests
Chapter 2
Содержание E1340A
Страница 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...
Страница 8: ......
Страница 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...
Страница 18: ...Notes 20 General Information Chapter 1 ...
Страница 74: ...Notes 76 Adjustments Chapter 3 ...
Страница 78: ...Notes 80 Replaceable Parts Chapter 4 ...
Страница 104: ...Notes 106 Verification Tests C Programs Appendix A ...