Keithley 486 Instruction Manual page 108

Hide thumbs Also See for 486:
Table of Contents

Advertisement

SECTION4
IEEE-488Reference
Programming
Notes
1. The serial poll byte should be read to clear the SRQ line once the instrument has generated
an SRQ. AlI bits in the se&I poll byte will be latched when the SRQ is generated. Bit 6 (RQS)
wiII be cleared when the serial poll byte is read.
2. Even with SRQ disabled, the serial poIl byte can be read to determine appropriate in&u-
ment conditions.
Programming
Example
10 oLJTruT722;',M3w
! Program for SRQ on error.
20 OuTlwT722;'%1x"
! Attempt to program illegal command (IDDC).
30 IF NOT BIT ($5) THEN 20
! Wait for SRQ to occur.
40 S=SPOLL(722)
! Serial poII the 486/487.
50 DISP "87 B6 B5 84 83 82 81 Bo" ! Label the bit positions.
60 FOR I=7 TO 0 ST!3 -1
! Loop eight times.
70 DISI' BIT(S,I);
! Display the bit positions.
80 NJXTI
90 DISI'
loOEND
4-23

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

487

Table of Contents