![Keithley KUSB-3100 User Manual Download Page 65](http://html1.mh-extra.com/html/keithley/kusb-3100/kusb-3100_user-manual_3961323065.webp)
Programming Flowcharts
51
4
4
4
4
4
4
4
4
4
Event Counting Operations
Get a handle to the C/T subsystem with
olDaGetDASS
.
Initialize the device driver and get the
device handle with
olDaInitialize
.
Specify the mode as OL_CTMODE_COUNT
using
olDaSetCTMode
.
Go to the next page.
Configure the subsystem using
olDaConfig
.
Specify C/T subsystem/element 0.
Specify the gate type as high-level
(OL_GATE_HIGH_LEVEL) or software
(OL_GATE_NONE) using
olDaSetGateType
.
Specify the clock source as
OL_CLK_EXTERNAL using
olDaSetClockSource
.
Specify a clock divider between 2 (the
default) and 65536.
Specify the clock divider using
olDaSetExternalClockDivider
Attach an external C/T with a maximum
recommended frequency of 6 MHz to
the Counter 0 In signal.
Summary of Contents for KUSB-3100
Page 10: ...Contents x...
Page 14: ...About this Manual xiv...
Page 15: ...1 1 Overview Features 2 Supported Software 3...
Page 18: ...Chapter 1 4...
Page 46: ...Chapter 2 32...
Page 47: ...33 3 Supported Device Driver Capabilities...
Page 86: ...Chapter 4 72...
Page 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Page 100: ...Chapter 6 86...
Page 101: ...87 A Specifications...
Page 112: ...Appendix A 98...
Page 113: ...99 B Connector Pin Assignments...
Page 115: ...101 C Reading from or Writing to the Digital Registers...