7-38 | ni.com
Chapter 7 Counters
Routing a Signal to Counter
n Gate
Each counter has independent input selectors for the Counter n Gate signal. Any of the following
signals can be routed to the Counter n Gate input:
• RTSI <0..7>
• PFI <0..15>
• AI Reference Trigger (ai/ReferenceTrigger)
• AI Start Trigger (ai/StartTrigger)
• AO Sample Clock (ao/SampleClock)
• DI Sample Clock (di/SampleClock)
• DI Reference Trigger (di/ReferenceTrigger)
• DO Sample Clock (do/SampleClock)
• PXI_STAR
• PXIe_DSTAR<A,B>
• Change Detection Event
• Analog Comparison Event
In addition, a counter’s Internal Output or Source can be routed to a different counter’s gate.
Some of these options may not be available in some driver software.
Routing Counter
n Gate to an Output Terminal
You can route Counter n Gate out to any PFI <0..15>, RTSI <0..7>, or PXIe_DSTARC terminal.
All PFIs are set to high-impedance at startup.
Counter
n Aux Signal
The Counter n Aux signal indicates the first edge in a two-signal edge-separation measurement.
Routing a Signal to Counter
n Aux
Each counter has independent input selectors for the Counter n Aux signal. Any of the following
signals can be routed to the Counter n Aux input:
• RTSI <0..7>
• PFI <0..15>
• AI Reference Trigger (ai/ReferenceTrigger)
• AI Start Trigger (ai/StartTrigger)
• PXI_STAR
• PXIe_DSTAR<A,B>
• Analog Comparison Event
• Change Detection Event