© National Instruments
|
5-21
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 5-22 shows an example of a buffered X1 position measurement.
Figure 5-22.
Buffered Position Measurement
Two-Signal Edge-Separation Measurement
Two-signal edge-separation measurement is similar to pulse-width measurement, except that
there are two measurement signals—Aux and Gate. An active edge on the Aux input starts the
counting and an active edge on the Gate input stops the counting. You must arm a counter to
begin a two edge separation measurement.
After the counter has been armed and an active edge occurs on the Aux input, the counter counts
the number of rising (or falling) edges on the Source. The counter ignores additional edges on
the Aux input.
The counter stops counting upon receiving an active edge on the Gate input. The counter stores
the count in the FIFO.
You can configure the rising or falling edge of the Aux input to be the active edge. You can
configure the rising or falling edge of the Gate input to be the active edge.
Use this type of measurement to count events or measure the time that occurs between edges on
two signals. This type of measurement is sometimes referred to as start/stop trigger
measurement, second gate measurement, or A-to-B measurement.
Refer to the following sections for more information about the cDAQ chassis edge-separation
measurement options:
•
Single Two-Signal Edge-Separation Measurement
•
Implicit Buffered Two-Signal Edge-Separation Measurement
•
Sample Clocked Buffered Two-Signal Separation Measurement
1
3
1
Ch A
Ch B
3
1
0
2
4
Co
u
nt
B
u
ffer
Sa
mple Clock
(
Sa
mple on Ri
s
ing Edge)
Co
u
nter
Armed