Chapter 7 Counters
NI 6238/6239 User Manual 7-28 ni.com
Counter n Gate Signal
The Counter n Gate signal can perform many different operations
depending on the application including starting and stopping the counter,
and saving the counter contents.
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>
• Input PFI <0..5>
• ai/ReferenceTrigger
• ai/StartTrigger
• ai/SampleClock
• ai/ConvertClock
• ao/SampleClock
•PXI_STAR
In addition, Counter 1 Internal Output or Counter 1 Source can be routed to
Counter 0 Gate. Counter 0 Internal Output or Counter 0 Source can be
routed to Counter 1 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 output PFI <6..9> or RTSI <0..7>
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>
• Input PFI <0..5>
• ai/ReferenceTrigger