Chapter 7
G Mode Functions
© National Instruments Corp.
7-99
GPIB-SCSI-A User Manual
stat
(continued)
or SCSI error can be found in Appendix B, Status and
Message Information.
The GPIB-SCSI-A updates status at the end of each
programming message. It updates GPIB error and SCSI error
whenever a new error occurs.
If you call
stat
with all modes (
n
,
s
, and
b
) specified, the
numeric status is always returned first followed by the
symbolic status, followed by the binary status.
If you call
stat
without an argument, continuous status
reporting is disabled.
See Also:
rqsns and Appendix B, Status and Message Information.
Examples:
1.
ibwrt (gpibscsia, "stat n\n", 7);
/* Request the GPIB-SCSI-A to send us numeric
* status. */
ibrd (gpibscsia, stbuf, 100);
/* Read the status back into a buffer until you
* receive END from the GPIB-SCSI-A.
*/
get_stat (&ibstat, &gpiberr, &scsierr, stbuf);
/* Call a routine that takes the component
* strings of numbers and converts them to
* numeric values which are returned to the
* calling program.
*/
Содержание 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 ...