Figure 7-33. duplicate count prevention example, When to use duplicate count prevention, When to use duplicate count prevention -36 – National Instruments DAQ M Series User Manual

Page 98

Advertising
background image

Chapter 7

Counters

NI 6236 User Manual

7-36

ni.com

Figure 7-33. Duplicate Count Prevention Example

Even if the Source pulses are long, the counter increments only once for
each Source pulse.

Normally, the counter value and Counter n Internal Output signals change
synchronously to the Source signal. With duplicate count prevention, the
counter value and Counter n Internal Output signals change synchronously
to the 80 MHz Timebase.

Note that duplicate count prevention should only be used if the frequency
of the Source signal is 20 MHz or less.

When To Use Duplicate Count Prevention

You should use duplicate count prevention if the following conditions are
true.

You are making a counter measurement

You are using an external signal (such as PFI <0..5>) as the counter
Source

The frequency of the external source is 20 MHz or less

You can have the counter value and output to change synchronously
with the 80 MHz Timebase

In all other cases, you should not use duplicate count prevention.

Gate

Source

80 MHz Timebase

Counter Value

Buffer

0
7

7

6

7

0

1

Counter detects
rising Gate edge.

Counter value
increments only
one time for each
Source pulse.

Advertising