9113_Get_8254; 9113_Ad_Timer - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

6.20 _9113_Get_8254

@ Description
This function is used to read PCI-9113A 8254 Programmable Timer.
The read value is stored in count.
@ Syntax
C/C++ (DOS)
U16 _9113_Get_8254 (U16 cardNo, U16 ChannelNo, U8
C/C++ (Windows 95)
U16 W_9113_Get_8254 (U16 cardNo, U16 ChannelNo, U8
Visual Basic (Windows 95)
W_9113_Get_8254 (ByVal cardNo As Integer, ByVal ChannelNo
@ Argument
cardNo: The card number of PCI-9113A card initialized.
Tmr_ch: Port of 8254 Timer, the value is within 0 to 2.
count: The value read from 8254 programmable timer, only 8 LSBs are
effective
@ Return Code
ERR_NoError

6.21 _9113_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. Since the A/D conversion rate is
limited due to the conversion time of the AD converter, the highest
sampling rate of the PCI-9113A can not be exceeded 100 KHz. Thus
the multiplication of the dividers must be larger than 20.
*count)
*count)
As Integer, count As Byte) As Integer
C/C++ Software Library
53

Advertisement

Table of Contents
loading

Table of Contents