© National Instruments Corp.
6-1
GPIB-SCSI-A User Manual
Chapter 6
Programming in G Mode
This chapter explains how to program the GPIB-SCSI-A when operating in
G mode. It describes programming messages, their format, and how they
are processed, along with the functions and function arguments that make
up the programming messages. This chapter also explains how to
communicate with your SCSI device(s) through the GPIB-SCSI-A.
Note:
This chapter presumes some basic knowledge of the SCSI
operation. For basic information about the SCSI, refer to
Appendix D, Operation of the SCSI.
Programming Messages
You program the GPIB-SCSI-A by sending it programming messages
(which are ASCII strings) by way of its GPIB port.
Programming Message Format
The programming message format consists of a function name, one or more
arguments (which may or may not be optional), followed by a carriage
return (<CR>), a linefeed (<LF>), or both a linefeed and a carriage return
(<LF><CR>).
Example of a Programming Message
In the following lines of code, the GPIB-SCSI-A is commanded to return its
system identification to the Command and Status Channel's buffer. The
code then retrieves this information and displays it on the computer.
Содержание 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 ...