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
Summary of Contents for PD2-MF
Page 5: ...Table of Contents iii Index 137 ...
Page 11: ...1 1 Introduction ...
Page 18: ......
Page 19: ...9 2 Installation and Configuration ...
Page 34: ......
Page 35: ...25 3 Architecture ...
Page 63: ...53 4 PowerDAQ Software Development Kit PD SDK ...
Page 106: ......
Page 107: ...97 5 Calibration ...
Page 109: ...99 A Appendix A Specifications ...
Page 110: ...Appendix A Specifications 100 ...
Page 112: ......
Page 113: ...103 B Appendix B Accessories ...
Page 118: ......
Page 119: ...109 C Appendix C Application Notes ...
Page 125: ...115 D Appendix D Warranty ...
Page 128: ......
Page 129: ...119 E Appendix E Glossary ...
Page 152: ......