![NuDAQ ACL-8112 Series Скачать руководство пользователя страница 82](http://html1.mh-extra.com/html/nudaq/acl-8112-series/acl-8112-series_user-manual_1716414082.webp)
74
•
C Language Library
7.15 _8112_AD_DMA_Status
Description
Since the _8112_AD_DMA_Start function is executed in background,
you can issue the function _8112_AD_DMA_Status to check its
operation status.
Syntax
int _8112_AD_DMA_Status( int *status , int *count )
int _8112pg_AD_DMA_Status( int *status , int *count )
Argument:
status:
status of the DMA data transfer
0: AD DMA is not completed
1: AD DMA is completed
count:
the number of A/D data which has been
transferred.
Return Code:
ERR_NoError
ERR_BoardNoInit
ERR_AD_DMANotSet
Example:
See demo program 'AD_Demo4.C'
7.16 _8112_AD_DMA_Stop
Description
This function is used to stop the DMA data transfer. After executing
this function, the internal A/D trigger is disable and the A/D timer
( timer #1 and #2) is stopped. The function returns the number of the
data which has been transferred, no matter if the A/D DMA data
transfer is stopped by this function or by the DMA terminal count ISR.
Syntax
int _8112_AD_DMA_Stop( int *count )
int _8112pg_AD_DMA_Stop( int *count )
Argument:
Содержание ACL-8112 Series
Страница 1: ...NuDAQ ACL 8112 Series Enhanced Multi Functions Data Acquisition Cards User s Guide ...
Страница 4: ......
Страница 40: ...32 Registers Format 1 1 1 1 1 000 Unipolar N A Table 4 2 1 Function of the Gain Control Bits ...
Страница 44: ...36 Registers Format Base 14 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 ...
Страница 46: ...38 Registers Format Base 2 Counter 2 Register R W Base 3 8254 CONTROL BYTE ...
Страница 49: ...Operation Theorem 41 mode control register BASE 11 The different transfer modes are specified as follows ...
Страница 61: ...C Language Library 53 ErrCode _8112_Initial CARD_2 A8112B_DG 0x220 if ErrCode ERR_NoError exit 0 ...
Страница 71: ...C Language Library 63 ...
Страница 81: ...C Language Library 73 Example See Demo Program AD_Demo4 C ...
Страница 85: ...C Language Library 77 ERR_AD_INTNotSet Example See demo program AD_Demo2 C ...