DI_AsyncClear Previous topicNext topicFirst topicLast topic

DI_AsyncClear

@ Description



Stop the asynchronous digital input operation.

@ Cards Support

7200, 7300A

@ Syntax

I16 DI_AsyncClear (U16 CardNumber, U32 *AccessCnt)

@ Parameter

CardNumber : The card id of the card that performs the asynchronous operation.
AccessCnt : The number of digital input data that has been transferred at the time the call to DI_AsyncClear().

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport


Note: Because the scatter-gather mechanism used by PCI7300A, the memory space allocated in your process will be locked before passing the virtual address to the device drivers, and be unlocked after the data acquisition is completed. However, Linux does not give the permission of mlock/munlock to everyone. Only the processes with root privilege can lock/unlock the memory. If your process call this function for PCI7300A_RevA or PCI7300A_RevB, it must have the root privilege.