54
•
C/C++ Library
5.14 _8216_CLR_IRQ
@ Description
This function is used to clear interrupt request which requested by
the ACL-8216. If you use interrupt to transfer A/D converted data, you
should use this function to clear interrupt request status, otherwise
no new coming interrupt will be generated.
@ Syntax
int _8216_CLR_IRQ( void )
@ Argument
None
@ Return Code
ERR_NoError
ERR_BoardNoInit
@ Example
#include "8216.h"
main()
{
int
ad_data;
int
ErrCode;
_8216_Initial( CARD_1, 0x220 );
/* Assume NoError when Initialize ACL-8216 */
_8216_CLR_IRQ();
/* clear IRQ if necessary */
}
5.15 _8216_AD_DMA_Start
@ Description
The function will perform A/D conversion N times with DMA data
transfer by using the pacer trigger ( internal tim er trigger). It will takes
place in the background which will not stop until the N -th conversion
has completed or your program execute _8216_AD_DMA_Stop()
function to stop the process. After executing this function, it is
necessary to check the status of the operation by using the function
_8216_AD_DMA_Status(). The function is performed on single A/D
channel with fixed gain. The sampling rate is 2 MHz/(c1xc2).
@ Syntax
int _8216_DMA_Start( int ad_ch_no, int ad_range,
int
dma_ch_no, int irq_ch_no
Содержание NuDAQ ACL-8216
Страница 1: ...N u D A Q ACL 8216 16 bit High Resolution Data Acquisition Card User s Guide...
Страница 3: ......
Страница 7: ......
Страница 14: ...Installation 7 Figure 2 1 PCB Layout of the ACL 8216...
Страница 17: ...10 Installation...
Страница 27: ......
Страница 45: ......
Страница 55: ...48 C C Library...
Страница 58: ...C C Library 51...
Страница 62: ...C C Library 55 int count int ad_buffer unsigned int c1 unsigned int c2...
Страница 65: ...58 C C Library...
Страница 71: ......
Страница 75: ......
Страница 77: ......