National Instruments GPIB-SCSI-A User Manual page 102

Scsi-to-ieee 488 controller
Hide thumbs Also See for GPIB-SCSI-A:
Table of Contents

Advertisement

Chapter 5
eot
Examples:
Note:
Because the only difference between Examples 1 and 2 is the
CDB, only the place where the CDB is created is repeated.
Example 2 contains the entire program sequence.
1. Request the GPIB-SCSI-A to not assert the GPIB EOI* signal with the
last byte of GPIB writes.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xC6
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00
2. Request the GPIB-SCSI-A to assert the GPIB EOI* signal with the last
byte of GPIB writes.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xC6
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x01
Byte 4 = 0x00
Byte 5 = 0x00
SCSIArbitrate
SCSISelect(GPIB-SCSI-A id)
SCSICmd(CDB)
SCSIStatus(Sbyte)
SCSIMesgIn(Mbyte)
ErrorCheck
© National Instruments Corp.
5-35
GPIB-SCSI-A User Manual
S Mode Functions
(continued)

Advertisement

Table of Contents
loading

Table of Contents