National Instruments GPIB-PC Network Card User Manual


 
BASICA/QuickBASIC GPIB-PC Function Calls Section Four A
GPIB-PC User Manual 4A-58 ©National Instruments Corp.
Device Example:
1. Read 56 bytes of data from the device TAPE% and store in the
integer array RD%.
100 CNT% = 56
110 REM Array size is equal to CNT% divided
120 REM by 2.
130 DIM RD% (28)
140 CALL IBRDI (TAPE%,RD%(0),CNT%)
QuickBASIC Version 2.0 or 3.0,
replace line 140 with:
140 CALL IBRDI (TAPE%,VARPTR(RD%(0)),CNT%)
QuickBASIC Version 4.0,
replace line 140 with:
140 CALL IBRDI (TAPE%,RD%(), CNT%)