User`s guide

52 C/C++ Library
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 PCI-9111 8254 Programmable Timer. The
read value are stored in count.
@ 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 PCI-9111 card initialized.
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 PCI-9111 can not be exceeded 110 KHz. The multiplication of the
dividers must be larger than 20.
@ 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)