KPCI-488LPA-900-01 Rev. A / December 2008
Return to
1-5
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 1: Keithley Command Compatible Functions
Keithley Command Compatible function reference
This section contains a detailed description of Keithley Command Compatible library functions,
including the compatible library data types and function reference. The following functions are
arranged alphabetically:
GPIBBOARDPRESENT
Description
This function checks if a GPIB board is present in the GPIB system.
Syntax
Microsoft C/C++ and Borland C++
char gpib_board_present(void)
Visual Basic
GpibBoardPresent( ) As Long
Return Value
0: if no GPIB is installed
1: if a GPIB board is installed
BOARDSELECT
Description
This function selects a board to be the active board.
Syntax
Microsoft C/C++ and Borland C++
void boardselect (long int bd)
Visual Basic
call boardselect (ByVal board As Long)
Parameters
board
: the board number. The valid value is from 0 to 3
DMACHANNEL
Description
This function sets the DMA channel. This function is ignored for the
Model KPCI-488LPA.
Syntax
Microsoft C/C++ and Borland C++
void dmachannel (long int c)
Visual Basic
call dmachannel (ByVal chan As Long)
Parameters
chan
: DMA channel number
ENTER
Description
This function reads data from a specified device.
Syntax
Microsoft C/C++ and Borland C++
long int enter (char *buf, unsigned long maxlen,
unsigned long *len, long int addr,
long int *status)