BASICA/QuickBASIC GPIB-PC Function Calls
Section Four A
GPIB-PC User Manual
4A-98
©National Instruments Corp.
BASICA/QuickBASIC
BASICA/QuickBASIC
IBWRTIA IBWRTIA
Purpose:
Write data asynchronously from integer array
Format:
BASICA and QuickBASIC Version 1.0:
Call IBWRTIA (BD%,IARR%(0),CNT%)
QuickBASIC Version 2.0 and 3.0:
Call IBWRTIA (BD%, VARPTR(IARR%(0)),
CNT%)
QuickBASIC Version 4.0:
Call IBWRTIA (BD%, IARR%(), CNT%)
Remarks:
BD%
specifies a device or an interface board.
IARR%
is an
array from which integer data is written.
CNT%
specifies
the maximum number of bytes to be written.
Write asynchronously
CNT%
bytes of integer data from
IARR%
to the GPIB. The data is sent in low-byte, high-
byte order.
This is a special case of the
IBWRTA
function, which
writes, in BASICA, a maximum of 255 bytes from a
character string to the GPIB. In QuickBASIC, this function
writes a maximum of 32 K bytes of data from a character
string to the GPIB.
Refer to the
IBWRTA
function and to the information about
BASICA/QuickBASIC GPIB I/O Functions at the beginning
of this section.