5.14_9111_AD_Read_Data_Repeat
@ Description
This function is used to read the AD conversion data n times continuously.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Read_Data_Repeat (U16 cardNo, I16 far *ADData, U16 n)
C/C++ (Windows 95)
U16 W_9111_AD_Read_Data_Repeat (U16 cardNo, I16 *ADData, U16 n)
Visual Basic (Windows 95)
W_9111_AD_Read_Data_Repeat (ByVal cardNo As Integer, ADData As Integer, ByVal n As Integer) As Integer
@ Argument
cardNo: The card number of
ADData: A/D converted value, please refer to section to learn the relationship between the voltage and the value
n:The number of times to read the AD conversion data
@Return Code
ERR_NoError
5.15_9111_AD_Set_Channel
@ Description
This function is used to set AD channel by means of writing data to the multiplexer scan channel register. There are 16
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Set_Channel (U16 cardNo, U16 ADChannelNo)
C/C++ (Windows 95)
U16 W_9111_AD_Set_Channel (U16 cardNo, U16
ADChannelNo)
Visual Basic (Windows 95)
W_9111_AD_Set_Channel (ByVal cardNo As Integer, ByVal ADChannelNo As Integer) As Integer
@ Argument |
|
cardNo: | The card number of |
44 ∙ C/C++ Library