IBDMA
Board-Level
Note ibdma is deprecated. Use ibconfig (IbcDMA) instead. |
Purpose
Enable or disable DMA.
Format
C
unsigned long ibdma (int ud, int v)
Visual Basic
CALL ibdma (ud%, v%)
or
status% = ildma (ud%, v%)
Interactive Control (Usage Notes)
ibdma v
Input
ud | Board descriptor |
v | Enable or disable the use of DMA |
Output
Function Return | The value of Ibsta |
Description
ibdma enables or disables DMA transfers for the board, according to v. If v is zero, DMA is not used for GPIB I/O transfers. If v is non-zero, DMA is used for GPIB I/O transfers.
Possible Errors
ECAP | The interface is not configured to use a DMA channel. |
EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
EHDL | ud is invalid or out of range. |
ELCK | The requested operation could not be performed because of an existing lock by another process. |
ENEB | The interface is not installed or is not properly configured. |
EOIP | Asynchronous I/O is in progress. |