9113_Ad_Ffhf_Int_Start - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

ERR_InvalidADChannel
ERR_AD_InvalidGain
ERR_InvalidTimerValue
ERR_NoError

6.34 _9113_AD_FFHF_INT_Start

@ Description
This function is used to initial and start up the interrupt transfer by
using AD FIFO Half-Full Interrupt Transfer Mode. This function could
perform A/D conversion N times with interrupt data transfer by using
pacer trigger. It takes place in the background and will not stop until
the N-th conversion has been completed or your program execute
_9113_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 _9113_AD_FFHF_INT_Status(). The function can
perform on single A/D channel (autoscan is disabled) or multiple
A/D channels (autoscan is enabled) with 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 MS-DOS Borland C++ library supports
just one PCI-9113A card and provides only one ISR (interrupt
service routine) for processing the interrupt events. If multi-9113A
cards and multi -isr is necessary, users can modify this library for
your own purpose.
@ Syntax
C/C++ (DOS)
U16 _9113_AD_FFHF_INT_Start ( U 16 cardNo, U16 auto_scan, U16
ad_ch_no, U16 ad_gain, U16 blockNo, U32 *ad_buffer, U16 c1, U16 c2)
C/C++ (Windows 95)
U16 W_9113_AD_FFHF_INT_Start (U16 cardNo, U16 auto_scan, U16
ad_ch_no, U16 ad_gain, U16 blockNo, U32 *ad_buffer, U16 c1, U16 c2)
Visual Basic (Windows 95)
W_9113_AD_FFHF_INT_Start
auto_scan As Integer, ByVal ad_ch_no As Integer, ByVal ad_gain As
64
C/C++ Software Library
(ByVal
cardNo
As
Integer,
ByVal

Advertisement

Table of Contents
loading

Table of Contents