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 #84 background imageLoading...
Page #84 background image
Chapter 9 Counters
NI USB-621x User Manual 9-4 ni.com
Non-Cumulative Buffered Edge Counting
Non-cumulative edge counting is similar to buffered (sample clock) edge
counting. However, the counter resets after each active edge of the Sample
Clock. You can route the Sample Clock to the Gate input of the counter.
Figure 9-5 shows an example of non-cumulative buffered edge counting.
Figure 9-5. Non-Cumulative Buffered Edge Counting
Notice that the first count interval begins when the counter is armed, which
occurs before the first active edge on Gate.
Note that if you are using an external signal as the Source, at least one
Source pulse should occur between each active edge of the Gate signal.
This condition ensures that correct values are returned by the counter. If this
condition is not met, consider using duplicate count prevention, described
in the Duplicate Count Prevention section.
Controlling the Direction of Counting
In edge counting applications, the counter can count up or down. You can
configure the counter to do the following:
Always count up
Always count down
Count up when the Counter n B input is high; count down when it is
low
For information about connecting counter signals, refer to the Default
Counter/Timer Pinouts section.
22
3
2
3
3
Counter
Armed
SOURCE
Counter Value
1101331222
Buffer
Sample Clock
(Sample on
Rising Edge)

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