KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-17
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
Return Value
The device descriptor or -1
Error Codes
EARG, EDVR, ENEB
ibdma
Description
This command enables or disables DMA. This function is not supported for the Model
KPCI-488LPA.
Support Level
Board level
Syntax
Microsoft C/C++ and Borland C++
int ibdma (int ud, int v)
Visual Basic
ibdma (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibdma (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: board descriptor
dma
: enable or disable DMA mode
Return Value
The value of the
ibsta
Error Codes
EARG, ECAP, EDVR, ENEB, EOIP
ibeot
Description
This command enables or disables the action that is setting GPIB EOI line to enable
while the I/O operation is completed. If the EOT mode is enabled, the EOI line is set to
enable while the last GPIB is written to bytes. Otherwise, there is no operation to be
performed while the last byte is sent.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibeot (int ud, int v)
Visual Basic
ileot (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibeot (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: board or device descriptor
v
: enable or disable eot mode
Return Value
The value of the
ibsta
Error Codes
EDVR, ENEB, EOIP