Chapter 5
S Mode Functions
© National Instruments Corp.
5-21
GPIB-SCSI-A User Manual
clr
(continued)
If Mode is 0 and there is anything in the GPIB Secondary
Address, the GPIB-SCSI-A will abort the command, issue a
CHECK CONDITION status response, and set the Sense Key
to ILLEGAL REQUEST.
The information transfer phases that the GPIB-SCSI-A drives
the SCSI through after selection are the Command, Status, and
Message In phases.
See Also:
Appendix C, Operation of the GPIB, for more information on
clearing devices.
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 send SDC to the GPIB device with
primary address 9, secondary address 5.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xC2
Byte 1 = 0x48
Byte 2 = 0x2C
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00