W_9111_AD_HR_Aquire (ByVal cardNo As Integer, ad_data As Integer) As Integer
@ Argument
cardNo: the card number of
ad_data: the 16bits A/D converted value. The data format can be referred to section 5.1.6 for details.
@Return Code ERR_NoError ERR_AD_AquireTimeOut
5.39_9111_AD_INT_Start
@ Description
This function is used to initialize and start up the AD EOC
After executing this function, it is necessary to check the status of the operation by using the function _9111_AD_INT_Status(). While all the specified count of data are acquired, the interrupt status will be changed to “AD_INT_STOP”.The function can perform on single A/D channel (autoscan is disable) or multiple A/D channels (autoscan is enable) 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 this library supports just one
@ Syntax
C/C++ (DOS)
U16 _9111_AD_INT_Start ( U16 cardNo, U16 auto_scan, U16 ad_ch_no, U16 ad_gain, U16 count, I16 far *ad_buffer, U16 c1, U16 c2)
C/C++ (Windows 95)
U16 W_9111_AD_INT_Start (U16 cardNo, U16 auto_scan, U16 ad_ch_no, U16 ad_gain, U16 count, I16 far *ad_buffer, U16 c1, U16 c2)
C/C++ Library ∙59