DI_ContMultiBufferSetup | ![]() ![]() ![]() ![]() |
DI_ContMultiBufferSetup
@ Description
This function set up the buffer for multi-buffered digital input. The function has to be called repeatedly to setup all of the data buffers.
@ Cards Support
7300A
@ Syntax
I16 DI_ContMultiBufferSetup (U16 CardNumber, void *Buffer, U32 ReadCount, U16 *BufferId)
@ Parameter
CardNumber : The
card id of the card that performs the asynchronous multi-buffered operation.
Buffer : The starting address of memory to contain the input data.
ReadCount : The size (in samples) of the buffer and its value must be even.
BufferId : Returns the index of the buffer currently set up.
@ Return Code
NoError, ErrorInvalidCardNumber,
ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorTransferCountTooLarge, ErrorContIoNotAllowed