Buffered pulse-width measurement, Figure 7-7. buffered pulse-width measurement, Period measurement – National Instruments NI 6232 User Manual

Page 80: Buffered pulse-width measurement -7, Period measurement -7

Advertising
background image

Chapter 7

Counters

© National Instruments Corporation

7-7

NI 6232/6233 User Manual

Buffered Pulse-Width Measurement

Buffered pulse-width measurement is similar to single pulse-width
measurement, but buffered pulse-width measurement takes measurements
over multiple pulses.

The counter counts the number of edges on the Source input while the Gate
input remains active. On each trailing edge of the Gate signal, the counter
stores the count in a hardware save register. A DMA controller transfers the
stored values to host memory.

Figure 7-7 shows an example of a buffered pulse-width measurement.

Figure 7-7. Buffered Pulse-Width Measurement

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.

For information on connecting counter signals, refer to the

Default Counter

Terminals

section.

Period Measurement

In period measurements, the counter measures a period on its Gate input
signal after the counter is armed. You can configure the counter to measure
the period between two rising edges or two falling edges of the Gate input
signal.

You can route an internal or external periodic clock signal (with a known
period) to the Source input of the counter. The counter counts the number

SOURCE

GATE

Counter Value

Buffer

1

0

3

3

2

2

1

2

3

3
2

Advertising
This manual is related to the following products: