Figure 3-6. Frequency Measurement Application - National Instruments Corporation DAQCard-500 User Manual

Multifunction i/o card for type ii pcmcia bus
Table of Contents

Advertisement

Chapter 3
To measure frequency, program counter 2 to be level gated and count the number of falling
edges in a signal applied to the CLK2 input. The gate signal you applied to the GATE2 input is
of a known duration. In this case, program counter 2 to count falling edges at the CLK2 input
while the gate is applied. The frequency of the input signal then equals the count value divided
by the gate period. Figure 3-6 shows the connections for a frequency measurement application.
You could also use counter 1 to generate the gate signal in this application.
I/O Connector
The CLK and OUT signals for counter 1 are available at the I/O connector. The GATE, CLK,
and OUT signals for counter 2 are available at the I/O connector. In addition, the GATE and
CLK pins are pulled up to +5 V through a 100 k resistor.
Figure 3-7 shows the timing requirements for the GATE and CLK input signals and the timing
specifications for the OUT output signals of the MSM82C54.
© National Instruments Corporation
Gate
Source

Figure 3-6. Frequency Measurement Application

+5 V
100 kΩ
25
CLK
24
26
20
1 MHz
27
DGND
DAQCard-500
3-9
Signal Connections
OUT
GA TE
Counter 2
DAQCard-500 User Manual

Advertisement

Table of Contents
loading

Table of Contents