is actively using the module, to avoid interfering with the other task, NI-DAQmx generates an
error instead of sending the line configuration command. During the line configuration
command, the output lines are maintained without glitching.
PFI with NI-DAQmx
You can configure channels of a parallel digital module as Programmable Function Interface
(PFI) terminals. The cRIO controller also provides one terminal for PFI. Up to two digital
modules can be used to access PFI terminals in a single controller
You can configure each PFI individually as the following:
•
Timing input signal for AI, AO, DI, DO, or counter/timer functions
•
Timing output signal from AI, AO, DI, DO, or counter/timer functions
PFI Filters
You can enable a programmable debouncing filter on each PFI signal. When the filter is
enabled, the controller samples the inputs with a user-configured Filter Clock derived from the
controller timebase. This is used to determine whether a pulse is propagated to the rest of the
circuit.
However, the filter also introduces jitter onto the PFI signal.
The following is an example of low-to-high transitions of the input signal. High-to-low
transitions work similarly.
Assume that an input terminal has been low for a long time. The input terminal then changes
from low to high, but glitches several times. When the Filter Clock has sampled the signal
high on N consecutive edges, the low-to-high transition is propagated to the rest of the circuit.
The value of N depends on the filter setting, as shown in the following table.
Filter Setting
112.5 ns (short)
6.4 μs (medium)
2.56 ms (high)
Custom
User-configurable 1 Filter Clock
* Pulse widths are nominal values; the accuracy of the controller timebase and I/O distortion
will affect these values.
On power up, the filters are disabled. The figure below shows an example of a low-to-high
transition on an input that has a custom filter set to N = 5.
62 | ni.com | NI cRIO-905x User Manual
Table 16. Selectable PFI Filter Settings
Filter Clock
80 MHz
80 MHz
100 kHz
Min Pulse
Jitter
Width* to Pass
12.5 ns
112.5 ns
12.5 ns
6.4 μs
10 μs
2.56 ms
T
period
Max Pulse Width*
to Not Pass
100 ns
6.3875 μs
2.55 ms
T
- (1 Filter
user
user
Clock period)