User`s guide

FUNCTIONS
SDK SECTION 11
Page 165
GPIBReceive
unsigned int WINAPI GPIBReceive(int id, short address, char* text, int size)
Description
This function reads data from a device until a byte is received with the EOI line asserted
or until size bytes have been read.
Parameters
int id: The interface board number
short address: Address of device to send data
char* text: The data to be sent
int size: Number of characters to read
Return
unsigned int
DRV_SUCCESS
DRV_P3INVALID
Data received.
Invalid pointer (e.g. NULL).
Other errors may be returned by the GPIB device.
Consult the help documentation supplied with these
devices
See also
GPIBSend
GPIBSend
unsigned int WINAPI GPIBSend(int id, short address, char* text)
Description
This function initializes the GPIB by sending interface clear. Then the device described
by address is put in a listen-active state. Finally the string of characters, text, is sent to
the device with a newline character and with the EOI line asserted after the final
character.
Parameters
int id: The interface board number
short address: Address of device to send data
char* text: The data to be sent
Return
unsigned int
DRV_SUCCESS
DRV_P3INVALID
Data sent.
Invalid pointer (e.g. NULL).
The GPIB device may return other errors. Consult the
help documentation supplied with these devices
See also
GPIBReceive