Example Program
10! RE-STORE "DC_LEVELS"
20 DIM Vout(1:9)
30 !
40 !---------- Set up I/O path ----------
50 ASSIGN @Afg TO 70910
60 !
70 !---------- Initialize variables ----------
80 DATA 10.235,5.12,2.56,.32,0,-.32,-2.56,-5.12,-10.24
90 READ Vout(*)
100 !
110 !---------- Set up DMM ----------
120 CLEAR SCREEN
130 PRINT "Set up DMM:"
140 PRINT
150 PRINT " Function - DCV"
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;"FUNC DC;";
!DC function
270 OUTPUT @Afg;":OUTP:LOAD INF"
!Infinite load
280 !
290 !---------- Perform test ----------
300 !
310 FOR I=1 TO 9
320 OUTPUT @Afg;"VOLT "&VAL$(Vout(I))
!Set amplitude
330 PRINT "OUTPUT VOLTAGE: ";Vout(I)
340 !
350 DISP "Record DMM reading, then press ’Continue’"
360 PAUSE
370 DISP
380 NEXT I
390 !
400 END
32 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 ...