EasyManuals Logo
Home>National Instruments>Computer Hardware>NI USB-621x

National Instruments NI USB-621x User Manual

National Instruments NI USB-621x
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #93 background imageLoading...
Page #93 background image
Chapter 9 Counters
© National Instruments Corporation 9-13 NI USB-621x User Manual
Figure 9-14. Method 3
Then route the Counter 0 Internal Output signal to the Gate input of
Counter 1. You can route a signal of known frequency (F2) to the Counter
1 Source input. F2 can be 80MHzTimebase. For signals that might be
slower than 0.02 Hz, use a slower known timebase. Configure Counter 1 to
perform a single pulse-width measurement. Suppose the result is that the
pulse width is J periods of the F2 clock.
From Counter 0, the length of the pulse is N/F1. From Counter 1, the length
of the same pulse is J/F2. Therefore, the frequency of F1 is given by
F1=F2*(N/J).
Choosing a Method for Measuring Frequency
The best method to measure frequency depends on several factors including
the expected frequency of the signal to measures, the desired accuracy, how
many counters are available, and how long the measurement can take.
Method 1 uses only one counter. It is a good method for many
applications. However, the accuracy of the measurement decreases as
the frequency increases.
Consider a frequency measurement on a 50 kHz signal using an
80 MHz Timebase. This frequency corresponds to 1600 cycles of the
SOURCE OUT
COUNTER 0
SOURCE
GATE
OUT
COUNTER 1
Signal to
Measure (F1)
Signal of Known
Frequency (F2)
CTR_0_SOURCE
(Signal to Measure)
CTR_0_OUT
(CTR_1_GATE)
CTR_1_SOURCE
Interval
to Measure
0 1 2 3
N

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the National Instruments NI USB-621x and is the answer not in the manual?

National Instruments NI USB-621x Specifications

General IconGeneral
BrandNational Instruments
ModelNI USB-621x
CategoryComputer Hardware
LanguageEnglish

Related product manuals