Counters With Ni-Daqmx; Controller Counter 0 And Frequency Generator - National Instruments NI cRIO-905x Series User Manual

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

Advertisement

PFI Terminal
Filter Clock
Filtered Input

Counters with NI-DAQmx

The cRIO controller has four general-purpose 32-bit counter/timers and one frequency
generator. The general-purpose counter/timers can be used for many measurement and pulse
generation applications. The figure below shows the cRIO controller Counter 0 and the
frequency generator. All four counters on the cRIO controller are identical.
Figure 47. Controller Counter 0 and Frequency Generator
Input Selection Muxes
Input Selection Muxes
Counters have eight input signals, although in most applications only a few inputs are used.
For information about connecting counter signals, refer to the
section.
Each counter has a FIFO that can be used for buffered acquisition and generation. Each
counter also contains an embedded counter (Embedded Ctrn) for use in what are traditionally
two-counter measurements and generations. The embedded counters cannot be programmed
independent of the main counter; signals from the embedded counters are not routable.
Figure 46. PFI Filter Example
1
1
2
3
4
Counter 0 Source (Counter 0 Timebase)
Counter 0 Gate
Counter 0 Aux
Counter 0 HW Arm
Counter 0 A
Counter 0 B (Counter 0 Up_Down)
Counter 0 Z
Counter 0 Sample Clock
Frequency Output Timebase
1
2
3
4
5
Counter 0
Counter 0 Internal Output
Embedded Ctr0
FIFO
Frequency Generator
Default Counter/Timer Routing
NI cRIO-905x User Manual | © National Instruments | 63
Filtered input goes
high when terminal
is sampled high on
five consecutive filter
clocks.
Counter 0 TC
Freq Out

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