68
•
C/C++ Library
5.36 _9114_AD_INT_Start
@ Description
This function is used to initial and startup the AD EOC (end-of-conversion)
interrupt. This function could perform A/D conversion N times with interrupt
data transfer by using pacer trigger. It takes place in the background and w ill
not stop until the N -th conversion has been completed or your program
execute _9114_AD_INT_Stop() function to stop the process.
After executing this function, it is necessary to check the status of the operation
by using the function _9114_AD_INT_Status(). The function can perform on
single A/D channel (autoscan is disabled) or multiple A/D channels
(autoscan is enabled) with a fixed analog input range.
Note:
The interrupt mode provided in this function is internal timer
source, therefore you must specify c1 & c2 as calling this function.
In addition, this function in DOS library supports just one
PCI-9114 card and provides only one ISR (interrupt service
routine) for processing the interrupt events.
@ Syntax
C/C++ (DOS)
U16 _9114_AD_INT_Start ( U16 c ardNo, U16 auto_scan, U16
ad_ch_no, U16 ad_gain, U16 count, U32 *ad_buffer,
U16 c1, U16 c2)
C/C++ (Windows 95)
U16 W_9114_AD_INT_Start ( U16 cardNo, U16 auto_scan, U16
ad_ch_no, U16 ad_gain, U16 count, U32 *ad_buffer,
U16 c1, U16 c2)
Visual Basic (Windows 95)
W_9114_AD_INT_Start (ByVal cardNo As Integer, ByVal
auto_scan As Integer, ByVal ad_ch_no As Integer,
ByVal ad_gain As Integer, ByVal count As Integer,
ad_buffer As Long, ByVal c1 As Integer, ByVal c2
As Integer) As Integer
@ Argument
cardNo:
the card number of PCI-9114 card initialized.
auto_scan:
0: autoscan is disabled.
1: autoscan is enabled.
ad_ch_no:
A/D channel number.
If the auto_scan is set as enabled, the selection
sequence of A/D channel is: 0, 1, 2, 3, ...,
Содержание NuDAQ PCI-9114DG
Страница 1: ...NuDAQ P C I 9 1 1 4 D G H G Enhanced Multi Functions Data Acquisition Card User s Guide ...
Страница 2: ......
Страница 5: ......
Страница 6: ......
Страница 10: ...iv Contents Product Warranty Service 83 ...
Страница 12: ......
Страница 21: ...Installation 9 2 3 PCB Layout of PCI 9114 ...
Страница 31: ...Registers Format 19 CN4 is MSB and CN0 is LSB ...
Страница 36: ......
Страница 50: ......
Страница 56: ...44 C C Library the digital value Return Code ERR_NoError ...
Страница 70: ...58 C C Library count value read from 8254 programmable timer only 8 LSBs are effective Return Code ERR_NoError ...
Страница 79: ...C C Library 67 ...
Страница 94: ......