Chapter 4: PowerDAQ Software (SDK)
90
User Counter-Timer
Subsystem
The User Counter-Timer subsystem can be used in many different ways.
Counter-timers are fully dedicated to the user tasks. Three on-board
counter-timers can be set up to any configurable Intel 82C54 chip
mode. Using counter-timers output to control analog input and analog
output subsystems allows you to create setups to solve very
sophisticated data acquisition tasks. Certain applications will require
external digital circuitry to be built.
Additionally counter-timers can generate events when they reach zero
count. These events can be used to clock other subsystems and perform
various operations.
Programming of Intel 82C54 can be difficult because of it has various
modes and settings. To make it easy to you we provided definitions
needed and a set of example functions in
uct_progr.c
file located in
the same folder with UCTEvents Visual C++ example. Please refer to
that file and to the Intel 82C54 data sheet to learn how to program
UCT.
Using UCT Events
See Examples
DIEvents.c, uct_progr.c, SimpleTest.dpr,
SimpleTest.vbp
PowerDAQ API provides separate event flags for each counter
timer.
Initialization
•
Reset UCT subsystem
Содержание PD2-MF
Страница 5: ...Table of Contents iii Index 137 ...
Страница 11: ...1 1 Introduction ...
Страница 18: ......
Страница 19: ...9 2 Installation and Configuration ...
Страница 34: ......
Страница 35: ...25 3 Architecture ...
Страница 63: ...53 4 PowerDAQ Software Development Kit PD SDK ...
Страница 106: ......
Страница 107: ...97 5 Calibration ...
Страница 109: ...99 A Appendix A Specifications ...
Страница 110: ...Appendix A Specifications 100 ...
Страница 112: ......
Страница 113: ...103 B Appendix B Accessories ...
Страница 118: ......
Страница 119: ...109 C Appendix C Application Notes ...
Страница 125: ...115 D Appendix D Warranty ...
Страница 128: ......
Страница 129: ...119 E Appendix E Glossary ...
Страница 152: ......