Chapter 5
S Mode Functions
© National Instruments Corp.
5-69
GPIB-SCSI-A User Manual
rd
(continued)
If SCSI Phase = Status
SCSIStatus(Sbyte)
SCSIMesgIn(Mbyte)
Done
/* In the outer While loop, wait until you are
* sure that the GPIB-SCSI-A has finished the
* command, which is after the Status and
* Message In phases. That is why Done is set
* in the Status phase condition. Also, the
* only phase that can normally follow the
* Status phase is the Message In phase. If
* the Message In phase is not following a
* Status phase, the GPIB-SCSI-A is notifying
* the Initiator that it is going to disconnect
* from the SCSI or, after reconnection, is
* sending the IDENTIFY message. As long as
* the phase is the Data In phase, the
* GPIB-SCSI-A has data bytes from the GPIB to
* send to the Initiator.
*/
ErrorCheck