HP E1340A Service Manual page 33

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

Advertisement

180
PRINT
190
PRINT "Connect DMM HI and LO to AFG Output."
200
DISP "Press 'Continue' when ready"
210
PAUSE
220
CLEAR SCREEN
230
!
240
!---------- Set up AFG ----------
250
OUTPUT @Afg;"*RST;*CLS"
260
WAIT .5
270
!
280
OUTPUT @Afg;"OUTP:LOAD INF;";
290
OUTPUT @Afg;":VOLT 0.001;";
300
OUTPUT @Afg;":FUNC USER"
310
!
320
CALL Def_seg_zeros
330
OUTPUT @Afg;"FUNC:USER A"
340
OUTPUT @Afg;"INIT:IMM"
350
!
360
!---------- Perform test ----------
370
FOR I=1 TO 7
380
390
400
410
420
430
440
NEXT I
450
!
460
END
470
!
480
!Define segment consisting of all zeros
490
SUB Def_seg_zeros
500
510
520
530
540
550
560
570
580
590
SUBEND
Chapter 2
OUTPUT @Afg;"VOLT:OFFS "&VAL$(Offset(I))
PRINT "OFFSET: ";Offset(I)
!
DISP "Record DMM reading, then press 'Continue'"
PAUSE
DISP
COM @Afg
DIM Array(1:4096)
!
FOR I=1 TO 4096
Array(I)=0.
NEXT I
!
OUTPUT @Afg;"LIST:SEGM:SEL A"
OUTPUT @Afg;"LIST:SEGM:VOLT";Array(*)
!Reset AFG
!Infinite load
!Set amplitude
!USER waveform
!Select sequence
!Set offset
!Next offset
!Segment name
!Segment points
Verification Tests 35

Advertisement

Table of Contents
loading

Table of Contents