G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-42
© National Instruments Corp.
msgin
(continued)
Example:
ibwrt (gpibscsia, "msgin\n", 6);
/* After determining that the Target is in the
* Message In phase, you must specify this
* command for the GPIB-SCSI-A to obtain the
* message bytes from the Target.
*/
ibrd (gpibscsia, msgbuf, 258);
/* Get all possible bytes from the Command and
* Status Channel buffer. If there were not
* 258 bytes in the buffer, END would have been
* asserted on the last transfer.
*/