Chapter 5
S Mode Functions
© National Instruments Corp.
5-37
GPIB-SCSI-A User Manual
gts
(continued)
Before performing a
gts
with a shadow handshake, you
should call EOS to establish the proper End-Of-String
character or to disable the EOS detection if the End-Of-String
character used by the Talker is not known.
If you call
gts
and the GPIB-SCSI-A is not Controller-In-
Charge (CIC), the GPIB-SCSI-A records the ECIC error,
issues a CHECK CONDITION status response, and sets the
Sense Key to ERROR.
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:
cac.
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 become Standby Controller.
Build SCSI Command Descriptor Block (CDB)
Byte 0 = 0xC7
Byte 1 = 0x00
Byte 2 = 0x00
Byte 3 = 0x00
Byte 4 = 0x00
Byte 5 = 0x00