G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-116
© National Instruments Corp.
write
(continued)
* exact count available. However, the
* GPIB-SCSI-A will pad the data so that the *
SCSI device gets a known number of bytes to
* prevent locking up the GPIB-SCSI-A and the
* SCSI.
*/
ibwrt (scsidev, databuf, 4981);
/* Write 4,981 bytes of data from a memory
* buffer to the GPIB-SCSI-A which in turn puts
* the data onto the SCSI Target. When the NI
* function call sends the last byte of data,
* the EOI* GPIB signal is driven active to
* indicate the last byte. The GPIB-SCSI-A
* detects this and stops attempting to get
* GPIB data, but sends out 139 (5120-4981)
* linefeed characters as filler to the SCSI
* Target.
*/