G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-40
© National Instruments Corp.
mdsns
(continued)
During the execution of this command, if the GPIB-SCSI-A
encounters a phase which it did not expect, an EPHS error
indication results. For a list of the expected phases, refer to
Chapter 6, Handling of SCSI Phases in G Mode, Commands
That Require a Data In Phase.
Refer to your SCSI device documentation for the expected
values in each byte of the Command Descriptor Block, the
SCSI phases that the device creates, and the format and
meaning of the returned MODE SENSE data.
allocation
length
represents an 8-bit unsigned number.
Correct values range from 0 to 255. If a number that is too
large is entered, there is a syntax error in the number, or there
is no number, the GPIB-SCSI-A aborts the command with an
EARG error indication.
See Also:
mdsct.
Example:
ibwrt (gpibscsia, "mdsns 100\n", 10);
/* Tell the GPIB-SCSI-A to do a SCSI MODE SENSE
* command. The allocation length is 100
* bytes.
*/
ibrd (scsidev, mdsbuf, 100);
/* Get the data from the Data Channel. */
processmds (mdsbuf);
/* Process the buffer. */
Содержание 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 ...