![HP E1340A Service Manual Download Page 26](http://html.mh-extra.com/html/hp/e1340a/e1340a_service-manual_160374026.webp)
Example Program
10! RE-STORE "AUX_OUT"
20 !
30 !---------- Set up I/O path ----------
40 ASSIGN @Afg TO 70910
50 !
60 !---------- Reset AFG ----------
70 OUTPUT @Afg;"*RST;*CLS"
!Reset AFG
80 WAIT .5
90 !
100 !---------- Set up Scope ----------
110 CLEAR SCREEN
120 PRINT "Set Scope Channels A & B to 2 V/div, .02 msec/div"
130 PRINT
140 PRINT "Connect Scope Channel A to AFG Output."
150 PRINT "Connect Scope Channel B to AFG Aux Out."
160 DISP "Press ’Continue’ when ready"
170 PAUSE
180 CLEAR SCREEN
190 !
200 !---------- Perform test ----------
210 OUTPUT @Afg;"FREQ 1E4;";
!Set freq to 10 kHz
220 OUTPUT @Afg;":OUTP:LOAD INF"
!Infinite load
230 OUTPUT @Afg;"VOLT 4VPK"
!4 volts peak
240 OUTPUT @Afg;"MARK:FEED ""OUTP:ZERO"""
!Zero crossings
250 OUTPUT @Afg;"INIT:IMM"
!Initiate
260 WAIT .5
270 !
280 PRINT "Verify that Channel A shows a 10 kHz sinewave."
290 PRINT "Verify that Channel B shows a 10 kHz squarewave."
300 DISP "Press ’Continue’ when ready"
310 PAUSE
320 CLEAR SCREEN
330 !
340 OUTPUT @Afg;"*RST;*CLS"
350 END
28 Verification Tests
Chapter 2
Summary of Contents for E1340A
Page 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...
Page 8: ......
Page 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...
Page 18: ...Notes 20 General Information Chapter 1 ...
Page 74: ...Notes 76 Adjustments Chapter 3 ...
Page 78: ...Notes 80 Replaceable Parts Chapter 4 ...
Page 104: ...Notes 106 Verification Tests C Programs Appendix A ...