G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-2
© National Instruments Corp.
that the Target processes are similar to those expected by the original
command.
•
All values given in the Command Descriptor Blocks of the
GPIB-SCSI-A high-level commands are in hexadecimal.
•
For more information on Sense Keys, error indications, and Status
bytes, see Appendix B, Status and Message Information.
•
Some knowledge of SCSI is assumed. If you need to acquaint yourself
with SCSI, or you need a review of what you know, see Appendix D,
Operation of the SCSI.
Points to Remember in the Function Examples
Consider the following points when reading through the G mode function
examples:
•
The program examples are written in THINK C, using the NI-488
functions.
•
The following NI-488 function call automatically sends to the
GPIB-SCSI-A its Command and Status Channel talk address, and the
programming message
id
, followed by a line feed (<LF>):
ibwrt (gpibscsia, "id\n", 3);
If you are not using the National Instruments NI-488 software, be sure
your program properly addresses the Command and Status Channel as
well as the Data Channel when writing to and reading from the
GPIB-SCSI-A.