Chapter 7
G Mode Functions
© National Instruments Corp.
7-15
GPIB-SCSI-A User Manual
config
(continued)
If an invalid number is entered for either value, or if there is
no question mark and no value following the command, the
GPIB-SCSI-A aborts the command with an EARG error
indication.
See Also:
Buffering Methods in Chapter 3, Technical Information.
Example:
ibwrt (gpibscsia, "config #h20, 307200\n", 21);
/* Configure the GPIB-SCSI-A to use Single
* buffering and a buffer size of 300K.
*/
ibwrt (gpibscsia, "config?\n", 8);
/* Ask for the current configuration. */
ibrd (gpibscsia, infobuf, 20);
/* Get the response from the GPIB-SCSI-A. */
printf ("response: %s", infobuf);
/* Display the data. */
response:
32,229376<CR><LF>
/* Single buffering is enabled, and the
* largest buffer size possible is 224K.
*/
Содержание 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 ...