HP 8112A Operating, Programming And Servicing Manual page 97

50 mhz programmable pulse generator
Table of Contents

Advertisement

1
10
Adr= 7 1 2
20
CLEAR Adr
25
30
CLEAR S CREEN
40
A=SPOLL ( Adr)
50
60
Pro�ram to check RAM and HARDWARE
70
80
100
REMOTE Adr
1 1 0
140
OUTPUT Adr ; " EST"
150
160
WAIT 1000
170
180
A=SPOLL ( Adr)
190
200
IF A=#O THEN
2 1 0
220
PRINT "HP 8 1 12A FAULT WITH ERROR" ; A-64
230
240
250
260
270
END IF
280
290
LOCAL Adr
300
3 1 0
END
Comment s :
! D evice addre s s of the HP 8 1 12A
! Initialize Interf ac e , s et HP 8 1 12A to
! Standard s ett ing and remote mode
! Cl ear the Status Byt e
! Enable Remote Control of HP 8 1 1 2A
! " Execute Self Test" command
! Time for HP 8 1 1 2A int ernal pro c e s s ing
! Read and clear Status Byt e
! If Status Byte is zero , HP 8 1 12A has a f ault
! Pr int f ault message on s creen which is Error
! code minus the dec imal value of the
! Serv i c e Request
! S et HP 8 1 12A to lo cal operating mode
HP 8 1 1 2A SeU-test
( V i sual Indicat ors )
( RMT LED on)
( RMT and ADS LED ' s on)
Programming Examples 7-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents