Chapter 8
Counters
©
National Instruments Corporation
8-29
Counter
n
Gate Signal
The Co
u
nter
n
Gate signal can perform many different operations
depending on the application incl
u
ding starting and stopping the co
u
nter,
and saving the co
u
nter contents.
Routing a Signal to Counter
n
Gate
Each co
u
nter has independent inp
u
t selectors for the Co
u
nter
n
Gate signal.
Any of the following signals can be ro
u
ted to the Co
u
nter
n
Gate inp
u
t:
•
(USB-6210/6211/6215 Devices)
PFI <0..3>
•
(USB-6212/6216 Devices)
PFI <0..15>
•
(USB-6218 Devices)
PFI <0..3>, PFI <8..11>
•
AI Reference Trigger (ai/ReferenceTrigger)
•
AI Start Trigger (ai/StartTrigger)
•
AI Sample Clock (ai/SampleClock)
•
AI Convert Clock (ai/ConvertClock)
•
AO Sample Clock (ao/SampleClock)
In addition, Co
u
nter 1 Internal O
u
tp
u
t or Co
u
nter 1 So
u
rce can be ro
u
ted to
Co
u
nter 0 Gate. Co
u
nter 0 Internal O
u
tp
u
t or Co
u
nter 0 So
u
rce can be
ro
u
ted to Co
u
nter 1 Gate.
Some of these options may not be available in some driver software.
Routing Counter
n
Gate to an Output Terminal
Yo
u
can ro
u
te Co
u
nter
n
Gate o
u
t to any o
u
tp
u
t PFI terminal.
Counter
n
Aux Signal
The Co
u
nter
n
A
u
x signal indicates the first edge in a two-signal
edge-separation meas
u
rement.
Routing a Signal to Counter
n
Aux
Each co
u
nter has independent inp
u
t selectors for the Co
u
nter
n
A
u
x signal.
Any of the following signals can be ro
u
ted to the Co
u
nter
n
A
u
x inp
u
t:
•
(USB-6210/6211/6215 Devices)
PFI <0..3>
•
(USB-6212/6216 Devices)
PFI <0..15>
•
(USB-6218 Devices)
PFI <0..3>, PFI <8..11>