Return code – ADLINK PCI-7200 User Manual
Page 83
Advertising

C/C++ Libraries
71
W_7200_Alloc_DMA_Mem must be called to allocate a contigu-
ous DMA memory and get the handle of it. Also
W_7200_Alloc_DMA_Mem will attach a buffer to DMA memory.
The DO data is stored in the buffer attached to this handle.
do_buffer (DOS): the start address of the memory buffer to
store the DO data.
** This memory should be double-word alignment
repeat: The digital output will be continuous or only one shot.
CONTINUOUS: digital output will be continuous until
_7200_DO_DMA_STOP is called.
ONE_SHOT: digital output only one-shot.
@ Return Code
ERR_NoError
ERR_InvalidDIMode
ERR_InvalidBoardNumber
ERR_BoardNoInit
ERR_InvalidDIOCnt
ERR_NotDWordAlign
ERR_DMATransferNotAllowed
Advertising