G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-112
© National Instruments Corp.
wrext
(continued)
ibwrt (gpibscsia, "wrext 5000, 1\n", 14);
/* Request the GPIB-SCSI-A to write data
* to the SCSI Target at ID 4. This command
* also tells the GPIB-SCSI-A that there
* is a maximum of 512 bytes (blksz *
* transfer length, 1 * 512) transferred from
* the GPIB Talker to the SCSI. If the
* GPIB-SCSI-A detects END from the GPIB, the
* SCSI device still receives 512 bytes, but
* the last bytes will be pad bytes.
*/
ibwrt (scsidev, "Put this data on the disk",
25);
/* Write the string to the disk drive across
* the Data Channel. The NI GPIB call asserts
* the GPIB EOI* signal on the last byte of
* the string, notifies the GPIB-SCSI-A that
* all the GPIB data is transferred. Now the
* GPIB-SCSI-A sends out 487 (512 - 25)
* carriage return characters.
*/
Содержание GPIB-SCSI-A
Страница 20: ......
Страница 27: ......
Страница 355: ...Appendix C Operation of the GPIB National Instruments Corp C 7 GPIB SCSI A User Manual Figure C 2 Linear Configuration ...
Страница 356: ...Operation of the GPIB Appendix C GPIB SCSI A User Manual C 8 National Instruments Corp Figure C 3 Star Configuration ...