count: | value to write, only 8 LSBs are effective |
@Return Code
ERR_NoError
5.27_9111_Get_8254
@ Description
This function is used to read
@ Syntax
C/C++ (DOS)
U16 _9111_Get_8254 (U16 cardNo, U16 ChannelNo, U8 *count)
C/C++ (Windows 95)
U16 W_9111_Get_8254 (U16 cardNo, U16 ChannelNo, U8 *count)
Visual Basic (Windows 95)
W_9111_Get_8254 (ByVal cardNo As Integer, ByVal ChannelNo As Integer, count As Byte) As Integer
@ Argument |
|
cardNo: | The card number of |
Tmr_ch: | Port of 8254 Timer, the value is within 0 to 3. |
count: | value read from 8254 programmable timer, only 8 LSBs are |
| effective |
@Return Code
ERR_NoError
5.28_9111_AD_Timer
@ Description
This function is used to set the Timer #1 and Timer#2. Timer#1 and Timer#2 are used as frequency dividers for generating constant A/D sampling rate dedicatedly. It is possible to stop the pacer trigger by setting any one of the dividers as 0. Because the AD conversion rate is limited due to the conversion time of the AD converter, the highest sampling rate of the
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Timer (U16 cardNo, U16 c1, U16 c2)
C/C++ (Windows 95)
U16 W_9111_AD_Timer (U16 cardNo, U16 c1, U16 c2)
Visual Basic (Windows 95)
52 ∙ C/C++ Library