94
C/C++
Libraries
5.25 _7300_Int_Timer
@ Description
This function is used to set Counter #2.
@ Syntax
Visual C/C++ (Windows 95)
int W_7300_Int_Timer (int card_number, U16 c2)
Visual Basic (Windows 95)
W_7300_Int_Timer (ByVal card_number As Long,
ByVal c2 As Integer) As Long
C/C++ (DOS)
int _7300_Int_Timer (int card_number, U16 c2)
@ Argument
card_number
:The card number of the cPCI/PCI/PCIe-7300A
card.
c2
: frequency divider of Counter #2. Valid value ranges from 2 to
65535.
Note
:
Since the Integer type in Visual Basic is signed integer. It’s
range is within -32768 and 32767. In Visual Basic, if you
want to set c2 as value larger than 32767, please set it as the
intended value minus 65536. For example, if you want to set
c1 as 40000, please set c1 as 40000-65536 = -25536.
@ Return Code
NoError
PCICardNumErr
PCICardNotInit
Summary of Contents for cPCI-7300A
Page 4: ......
Page 10: ...vi List of Figures...
Page 18: ...8 Introduction...
Page 21: ...Installation 11 2 4 cPCI PCI PCIe 7300A Layout Figure 2 1 PCI 7300A Layout Diagram...
Page 26: ...16 Installation Figure 2 4 CN1 Pin Assignment...
Page 100: ...90 C C Libraries BufNotDWordAlign DMADscrBadAlign...
Page 108: ...98 C C Libraries...
Page 114: ...104 Appendix...