Configuration and Installation
Chapter 2
AT-MIO-16D User Manual
2-40
© National Instruments Corporation
For time-lapse measurement, program a counter to be edge gated. Apply an edge to the counter
GATE input to start the counter. You can program the counter to start counting after receiving
either a high-to-low edge or a low-to-high edge. If the counter is programmed to count an internal
timebase, then the time lapse since receiving the edge is equal to the counter value multiplied by the
timebase period.
To measure frequency, program a counter to be level gated and the rising or falling edges are
counted in a signal applied to a SOURCE input. The gate signal applied to the counter GATE
input is of some known duration. In this case, program the counter to count either rising or falling
edges at the SOURCE input while the gate is applied. The frequency of the input signal is then the
count value divided by the known gate period. Figure 2-38 shows the connections for a frequency
measurement application. You could use a second counter to generate the gate signal in this
application.
Signal
Source
33
DIG GND
Counter
OUT
SOURCE
GATE
+5 V
4.7 k
Ω
MIO-16 I/O Connector
AT-MIO-16D Board
Gate
Source
Figure 2-38. Frequency Measurement Application
Two or more counters can be concatenated by tying the OUT signal from one counter to the
SOURCE signal of another counter. You can then treat the counters as one 32-bit or 48-bit
counter for most counting applications.
The GATE, SOURCE, and OUT signals for Counters 1, 2, and 5, and the FOUT output signal are
tied directly from the Am9513A input and output pins to the I/O connector. In addition, the
GATE, SOURCE, and OUT1 pins are pulled up to +5 V through a 4.7-k
Ω
resistor. The input
and output ratings and timing specifications for the Am9513A signals are given below.
Содержание AT-MIO-16D
Страница 16: ......
Страница 23: ......
Страница 185: ......
Страница 206: ......
Страница 207: ......
Страница 208: ......
Страница 209: ......
Страница 210: ......
Страница 211: ......
Страница 212: ......
Страница 213: ......
Страница 214: ......
Страница 215: ......
Страница 216: ......
Страница 217: ......
Страница 218: ......
Страница 219: ......
Страница 220: ......
Страница 221: ......
Страница 222: ......
Страница 223: ......
Страница 224: ......
Страница 225: ......
Страница 226: ......
Страница 227: ......
Страница 228: ......
Страница 229: ......
Страница 230: ......
Страница 231: ......
Страница 232: ......
Страница 233: ......
Страница 234: ......
Страница 235: ......
Страница 236: ......
Страница 237: ......
Страница 238: ......
Страница 239: ......
Страница 240: ......
Страница 241: ......
Страница 242: ......
Страница 243: ......
Страница 244: ......
Страница 246: ......
Страница 247: ......
Страница 248: ......
Страница 249: ......
Страница 250: ......
Страница 251: ......
Страница 252: ......
Страница 253: ......
Страница 254: ......
Страница 255: ......
Страница 256: ......
Страница 257: ......
Страница 258: ......
Страница 259: ......
Страница 260: ......
Страница 261: ......