![background image](http://html1.mh-extra.com/html/keithley/kusb-3100/kusb-3100_user-manual_3961323067.webp)
Programming Flowcharts
53
4
4
4
4
4
4
4
4
4
Frequency Measurement Operations
The following flowchart shows the steps required to perform a
frequency measurement operation using the Windows timer. If you
need more accuracy the Windows timer provides, refer to
of
this manual or to your
DataAcq SDK User’s
Manual
for more
information.
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.
Specify C/T subsystem/element 0.
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.
Specify the gate type as high-level
(OL_GATE_HIGH_LEVEL) or software
(OL_GATE_NONE) using
olDaSetGateType
.
Содержание KUSB-3100
Страница 10: ...Contents x...
Страница 14: ...About this Manual xiv...
Страница 15: ...1 1 Overview Features 2 Supported Software 3...
Страница 18: ...Chapter 1 4...
Страница 46: ...Chapter 2 32...
Страница 47: ...33 3 Supported Device Driver Capabilities...
Страница 86: ...Chapter 4 72...
Страница 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Страница 100: ...Chapter 6 86...
Страница 101: ...87 A Specifications...
Страница 112: ...Appendix A 98...
Страница 113: ...99 B Connector Pin Assignments...
Страница 115: ...101 C Reading from or Writing to the Digital Registers...