C/C++ Library
•
59
5.23 _9114_AD_Timer
@ Description
This function is used to set the Timer #1 and Timer#2. These timers 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. Since the AD conversion rate is limited due to the
conversion time of the AD converter, the highest sampling rate of the
PCI-9114 can not be exceeded 100 KHz. Thus the multiplication of the
dividers must be larger than 20.
@ Syntax
C/C++ (DOS)
U16 _9114_AD_Timer (U16 cardNo, U16 c1, U16 c2)
C/C++ (Windows 95)
U16 W_9114_AD_Timer (U16 cardNo, U16 c1, U16 c2)
Visual Basic (Windows 95)
W_9114_AD_Timer (ByVal cardNo As Integer, ByVal c1 As
Integer, ByVal c2 As Integer) As Integer
@ Argument
cardNo: The card number of PCI-9114 card initialized.
c1: frequency divider of timer #1
c2: frequency divider of timer #2
@ Return Code
ERR_NoError
5.24 _9114_Counter_Start
@ Description
The counter #0 of the PCI-9114 Timer/Counter chip can be freely
programmed by the users. This function is used to program the counter
#0. This counter can be used as frequency generator if internal clock is
used. It also can be used as event counter if external clock is used. All
the 8254 modes (six operating modes) are available.
@ Syntax
C/C++ (DOS)
U16 _9114_Counter_Start (U16 cardNo, U16 mode, U16 c0)
C/C++ (Windows 95)
U16 W_9114_Counter_Start (U16 cardNo, U16 mode, U16 c0)
Visual Basic (Windows 95)
W_9114_Counter_Start (ByVal cardNo As Integer, ByVal
mode As Integer, ByVal c0 As Integer) As Integer
Summary of Contents for NuDAQ PCI-9114DG
Page 1: ...NuDAQ P C I 9 1 1 4 D G H G Enhanced Multi Functions Data Acquisition Card User s Guide ...
Page 2: ......
Page 5: ......
Page 6: ......
Page 10: ...iv Contents Product Warranty Service 83 ...
Page 12: ......
Page 21: ...Installation 9 2 3 PCB Layout of PCI 9114 ...
Page 31: ...Registers Format 19 CN4 is MSB and CN0 is LSB ...
Page 36: ......
Page 50: ......
Page 56: ...44 C C Library the digital value Return Code ERR_NoError ...
Page 79: ...C C Library 67 ...
Page 94: ......