Default Counter/Timer Routing; Cascading Counters; Prescaling - National Instruments NI cRIO-905x Series User Manual

Embedded compactrio controller with real-time processor and reconfigurable fpga
Table of Contents

Advertisement

Default Counter/Timer Routing

Counter/timer signals are available to parallel digital I/O C Series modules. To determine the
signal routing options for modules installed in your system, refer to the Device Routes tab in
MAX.
You can use these defaults or select other sources and destinations for the counter/timer signals
in NI-DAQmx. Refer to "Connecting Counter Signals" in the NI-DAQmx Help or the
LabVIEW Help for more information about how to connect your signals for common counter
measurements and generations. Refer to "Physical Channels" in the NI-DAQmx Help or the
LabVIEW Help for a list of default PFI lines for counter functions.
Other Counter Features
The following sections list the other counter features available on the cRIO controller.

Cascading Counters

Prescaling

Synchronization Modes
Cascading Counters
You can internally route the Counter n Internal Output and Counter n TC signals of each
counter to the Gate inputs of the other counter. By cascading two counters together, you can
effectively create a 64-bit counter. By cascading counters, you also can enable other
applications. For example, to improve the accuracy of frequency measurements, use reciprocal
frequency measurement, as described in the
section.
Prescaling
Prescaling allows the counter to count a signal that is faster than the maximum timebase of the
counter. The cRIO controller offers 8X and 2X prescaling on each counter. Prescaling can be
disabled. Each prescaler consists of a small, simple counter that counts to eight (or two) and
rolls over. This counter can run faster than the larger counters, which simply count the
rollovers of this smaller counter. Thus, the prescaler acts as a frequency divider on the Source
and puts out a frequency that is one-eighth (or one-half) of what it is accepting as shown in the
figure below.
Prescaler Rollover
66 | ni.com | NI cRIO-905x User Manual
Figure 48. Prescaling
External Signal
(Used as Source
by Counter)
Counter Value
Large Range of Frequencies with Two Counters
0
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ni crio-9053Ni crio-9054Ni crio-9056Ni crio-9057

Table of Contents