G Mode Functions
Chapter 7
GPIB-SCSI-A User Manual
7-8
© National Instruments Corp.
blksz
(continued)
Examples:
1.
ibwrt (gpibscsia, "blksz?\n", 7);
/* Ask for the current blocksize setting. */
ibrd (gpibscsia, infobuf, 10);
/* Get the response from the GPIB-SCSI-A. */
printf ("response: %s", infobuf);
/* Display the data. */
response:
512<CR><LF>
2.
ibwrt (gpibscsia, "blksz 532\n", 10);
/* Set the blocksize to 532. */