HP E1340A Service Manual page 26

Function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

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"
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;";
220
OUTPUT @Afg;":OUTP:LOAD INF"
230
OUTPUT @Afg;"VOLT 4VPK"
240
OUTPUT @Afg;"MARK:FEED ""OUTP:ZERO"""
250
OUTPUT @Afg;"INIT:IMM"
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
!Reset AFG
!Set freq to 10 kHz
!Infinite load
!4 volts peak
!Zero crossings
!Initiate
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents