HP 8112A Operating, Programming And Servicing Manual page 99

50 mhz programmable pulse generator
Table of Contents

Advertisement

10
20
Adr= 7 1 2
30
CLEAR Adr
40
50
CLEAR SCREEN
60
A=SPOLL ( Adr)
60
70
OUTPUT Adr ; " M2 , T 1 , W2 , PER 10 US , DEL SONS , WID 2 . 5 US "
80
90
100
1 1 0
1 3 0
REPEAT
140
A=SPOLL ( 7 1 2 )
1 50
UNTIL B I T ( A , 7 ) =0
160
170
180
LOCAL Adr
190
200
END
2 1 0
Comment s :
! Addr e s s of the HP 8 1 12A
! Initialize int erfac e , s et HP 8 1 1 2A to
! st andard s ett ing and remote mode
! Clear the s t atus byte
! S elect trigger mode with tr iggering on
! po s it ive s lope , l inear tran s it ion output
! and change period , delay and width
! Keep polling the HP 8 1 12A. status byte
! until Buffer Not Empty flag r eturns to
! z ero indicating the command message has
! b een implement ed
! Return HP 8 1 1 2A to lo cal mode
Programming Examples
7-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents