National Instruments NI 6614 User Manual page 45

Table of Contents

Advertisement

Chapter 3
Counter Input
In both cases, the frequency, f, is given by:
Counter Timebase
Signal to Measure
Figure 3-14. Frequency Measurement Using Periods
Trade-offs
Consider the following trade-offs when determining the method of measuring frequency:
Accuracy vs. Update Rate
Increasing measurement duration increases the accuracy of the measurement.
Decreasing measurement duration allows the counter to update the measurement more
often. If the input frequency changes often, it may be better to take many less-accurate
measurements than a few more accurate ones.
Sample Clock vs. Implicit Timing
If you use a sample clock, the device returns one frequency measurement for each
sample clock.
If you use implicit timing and specify a measurement time, the device returns the
measurement after that amount of time.
If you use implicit timing and specify a number of periods to measure, the device returns
the measurement after that number of periods of the input signal. Note that the time to
return a measurement depends on the (unknown) frequency of the input signal. If the input
signal is at a low frequency, the device will take a long time to return a measurement.
Number of Counters
Some methods use two of the eight counters on the NI 6614; other methods use one of the
eight counters.
3-12 | ni.com
Figure 3-13. Frequency Measurement Using Time
(100 MHz)
Count
0
Signal to Measure
Counter Timebase
(100 MHz)
Count
p
f
=
-- -
t
measurement duration = 100 µs
1
2
measurement duration
= 3 periods
1
2
3
4
50
5
6

Advertisement

Table of Contents
loading

Table of Contents