Chapter 7
G Mode Functions
© National Instruments Corp.
7-87
GPIB-SCSI-A User Manual
sndia
(continued)
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 of the
necessary parameter list.
value
must follow the
sndia
command and is an 8-bit
unsigned number. If
value
is zero, the optional
parameter
list
length
must be included. If the
parameter
list
length
is not included, the
GPIB-SCSI-A aborts the command with an EARG indication.
If
value
is non-zero, the GPIB-SCSI-A commands the SCSI
Target to perform its internal self-test. In this case, the
parameter
list
length
should not be specified, and if it
is, the GPIB-SCSI-A aborts the command with an EARG
indication.
See Also:
rcdia.
Examples:
1.
ibwrt (gpibscsia, "sndia 1\n", 8);
/* Tell the GPIB-SCSI-A to complete a SCSI SEND
* DIAGNOSTIC command. This causes the Target
* to perform its self test. If the
* documentation for your Target states that
* you must use the RECEIVE DIAGNOSTIC command
* to obtain the results of the test, then this
* command should be followed by the RECEIVE
* DIAGNOSTIC command and then an analysis of
* the data. However, some devices just
* perform their test and return the results in
* the Status Phase byte.
*/
Содержание 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 ...