HP 8112A Operating, Programming And Servicing Manual page 101

50 mhz programmable pulse generator
Table of Contents

Advertisement

PRINT "Every two seconds delay is incremented by 1 ms and width is decremented"
190
200
PRINT "by 2 ms . .."
210
PRINT
I
220
230
! Delay and Width loop
240
!
250
FOR I=0 TO 10
260
270
280
!
290
300
!
310
OUTPUT Addr;"DEL";New,del;"MS"
320
OUTPUT Addr;"WID";New,wid;"MS"
330
!
340
WAIT 2
350
NEXT I
360
!
370
LOCAL Addr
380
PRINT
390
PRINT "End of the program DEL-WID."
400
STOP
410
!
420
430
!
440 Display:! Display the current values of Delay and Width
450
PRINT "Delay = 'I;
460
PRINT USING "ZZ.DD,#";New-de1
470
PRINT ' ms
480
PRINT USING "ZZ.DD,"" ms""";New,wid
490
RETURN
500
END
! Print the values for the Setup and Hold time
! Turn HP8112A back to Local mode
Width = 'I;
Programming Examples 7-9

Advertisement

Table of Contents
loading

Table of Contents