S Mode Functions
Chapter 5
GPIB-SCSI-A User Manual
5-96
© National Instruments Corp.
stat
(continued)
Examples:
1.
Request the GPIB-SCSI-A to return to the Initiator all eight bytes
of the internal status recorded by the GPIB-SCSI-A.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xD7
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x08
Byte 5 = 0x00
SCSIArbitrate
SCSISelect(GPIB-SCSI-A id)
SCSICmd(CDB)
SCSIRead(statusinf, 8)
SCSIStatus(Sbyte)
SCSIMesgIn(Mbyte)
ErrorCheck
2. Configure the GPIB-SCSI-A for continuous status reporting. Send the
sic
command, then read the continuous status information returned
after its execution.
Build SCSI Command Descriptor Block (CDB) for
the stat command
Byte 0 = 0xD7
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x01
Byte 4 = 0x08
Byte 5 = 0x00
Содержание GPIB-SCSI-A
Страница 20: ......
Страница 27: ......
Страница 355: ...Appendix C Operation of the GPIB National Instruments Corp C 7 GPIB SCSI A User Manual Figure C 2 Linear Configuration ...
Страница 356: ...Operation of the GPIB Appendix C GPIB SCSI A User Manual C 8 National Instruments Corp Figure C 3 Star Configuration ...