Counters; Counter Input Applications; Counting Edges; Single Point (On-Demand) Edge Counting - National Instruments USB-621 Series User Manual

Hide thumbs Also See for USB-621 Series:
Table of Contents

Advertisement

Chapter 8

Counters

Counter Input Applications

Counting Edges

NI USB-621x User Manual
The counters have seven input signals, although in most applications only
a few inputs are used.
For information about connecting counter signals, refer to the
Counter/Timer Pinouts
In edge counting applications, the counter counts edges on its Source after
the counter is armed. You can configure the counter to count rising or
falling edges on its Source input. You also can control the direction of
counting (up or down).
The counter values can be read on demand or with a sample clock.

Single Point (On-Demand) Edge Counting

With single point (on-demand) edge counting, the counter counts the
number of edges on the Source input after the counter is armed. On-demand
refers to how the software can read the counter contents at any time without
disturbing the counting process. Figure 8-2 shows an example of single
point edge counting.
Counter Armed
SOURCE
Counter Value
Figure 8-2. Single Point Edge Counting
You also can use a pause trigger to pause (or gate) the counter. When the
pause trigger is active, the counter ignores edges on its Source input. When
the pause trigger is inactive, the counter counts edges normally.
section.
0
1
2
8-2
Default
3
4
5
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usb-6210Usb-6211Usb-6212Usb-6215Usb-6216Usb-6218

Table of Contents