9113_Ad_Int_Start - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

cardNo: The card number of PCI-9113A card initialized.
ad_data: The 32-bit A/D converted value. The resolution of A/D
conversion data is 12 bits. The unsigned integer data format of
ADData is as follows:
Every 32-bit unsigned integer data:
Please refer to section 5.1.5 for the relationship between the
voltage and the value.
@ Return Code
ERR_NoError
ERR_FIFO_Half_NotReady

6.33 _9113_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 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_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 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
62
C/C++ Software Library
bit 0... 11: A/D converted data
bit 16, 17, ... , 20: converted channel no.

Advertisement

Table of Contents
loading

Table of Contents