3-10
|
ni.com
Chapter 3
Counter Input
Other Settings
The counter measures the pulse using the Counter Timebase signal. By default, the counter
uses an onboard 100 MHz signals as the timebase. To change the timebase, use the
CI.CtrTimebaseSrc DAQmx Channel property.
You can filter noise on any PFI signal that is an input to the counter by enabling a filter. Refer
to the
section in Chapter 6,
, for more information.
If you route the same PFI signal to multiple destinations, you should enable the Synchronization
feature. Refer to Chapter 6,
, for more information.
Semi-Period Measurement
Semi-Period measurements are very similar to pulse measurements. Refer to the
section for more information. In hardware, both measurements are the same;
however, data is returned with a different alignment.
In a Pulse measurement each pair of high and low times is returned as one point of data—each
point
of data consists of both the high time and low time. Figure 3-9 shows an example of Pulse
measurement.
In a Semi-Period measurement, the high and low times are returned as separate points.
Figure 3-12 shows an example of Semi-Period measurement.
Figure 3-12.
Semi-Period Measurement
3
2
3
S
t
a
rt T
as
k
S
ign
a
l to Me
asu
re
Co
u
nter Time
bas
e
Co
u
nt
B
u
ffer
1
0
3
1
2
2
DAQmx Re
a
d
3
Re
a
d V
a
l
u
e
P
u
l
s
e High
P
u
l
s
e Low
DAQmx Re
a
d
2