Chapter 2 Function Reference — CTR_Period
©
National Instruments Corporation 2-99 NI-DAQ FRM for PC Compatibles
10: SOURCE5 used as timebase if 1 ≤ ctr ≤ 5 or SOURCE 10 used as timebase
if 6 ≤ ctr ≤ 10.
11: GATE 1 used as timebase if 1 ≤ ctr ≤ 5 or GATE6 used as timebase if
6 ≤ ctr ≤ 10.
12: GATE 2 used as timebase if 1 ≤ ctr ≤ 5 or GATE7 used as timebase if
6 ≤ ctr ≤ 10.
13: GATE 3 used as timebase if 1 ≤ ctr ≤ 5 or GATE8 used as timebase if
6 ≤ ctr ≤ 10.
14: GATE 4 used as timebase if 1 ≤ ctr ≤ 5 or GATE9 used as timebase if
6 ≤ ctr ≤ 10.
15: GATE 5 used as timebase if 1 ≤ ctr ≤ 5 or GATE10 used as timebase if
6 ≤ ctr ≤ 10.
Set timebase to 0 to concatenate counters. Set timebase to 1 through 5 for the counter to
count one of the five available internal signals. Set timebase to 6 through 15 (except 10 for
the PC-TIO-10) to provide an external signal to a counter. This external signal becomes the
signal NI-DAQ counts for event counting.
Using This Function
CTR_Period configures the specified counter for period and pulse-width measurement. The
function configures the counter to count up from zero and to use the gating mode, edge mode,
output type, and polarity as specified by the
CTR_Config call.
Applications for
CTR_Period are discussed in the section Period and Continuous
Pulse-Width Measurement Applications in Chapter 3, Software Overview, of the NI-DAQ
User Manual for PC Compatibles.