Buffered (Sample Clock) Edge Counting - National Instruments PXI-6238 User Manual

Isolated current input/current output devices
Table of Contents

Advertisement

Chapter 7
Counters

Buffered (Sample Clock) Edge Counting

With buffered edge counting (edge counting using a sample clock), the
counter counts the number of edges on the Source input after the counter is
armed. The value of the counter is sampled on each active edge of a sample
clock. A DMA controller transfers the sampled values to host memory.
The count values returned are the cumulative counts since the counter
armed event. That is, the sample clock does not reset the counter.
You can route the counter sample clock to the Gate input of the counter. You
can configure the counter to sample on the rising or falling edge of the
sample clock.
Figure 7-4 shows an example of buffered edge counting. Notice that
counting begins when the counter is armed, which occurs before the first
active edge on Gate.
NI 6238/6239 User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Counter Armed
Pause Trigger
(Pause When Low)
SOURCE
Counter Value
0
0
Figure 7-3. Single Point (On-Demand) Edge Counting with Pause Trigger
Counter Armed
Sample Clock
(Sample on Rising Edge)
SOURCE
Counter Value
0
Buffer
Figure 7-4. Buffered (Sample Clock) Edge Counting
7-4
1
2
3
4
5
1
2
3
4
5
6
3
7
3
6
ni.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni 6238Ni 6239Daq m series

Table of Contents