Download DAQ M Series NI USB
Transcript
Chapter 8 Counters Counter n Source Signal The selected edge of the Counter n Source signal increments and decrements the counter value depending on the application the counter is performing. Table 8-3 lists how this terminal is used in various applications. Table 8-3. Counter Applications and Counter n Source Application Purpose of Source Terminal Pulse Generation Counter Timebase One Counter Time Measurements Counter Timebase Two Counter Time Measurements Input Terminal Non-Buffered Edge Counting Input Terminal Buffered Edge Counting Input Terminal Two-Edge Separation Counter Timebase Routing a Signal to Counter n Source Each counter has independent input selectors for the Counter n Source signal. Any of the following signals can be routed to the Counter n Source input: • 80 MHz Timebase • 20 MHz Timebase • 100 kHz Timebase • (USB-6210/6211/6215 Devices) PFI <0..3> • (USB-6212/6216 Devices) PFI <0..15> • (USB-6218 Devices) PFI <0..3>, PFI <8..11> In addition, Counter 1 TC or Counter 1 Gate can be routed to Counter 0 Source. Counter 0 TC or Counter 0 Gate can be routed to Counter 1 Source. Some of these options may not be available in some driver software. Routing Counter n Source to an Output Terminal You can route Counter n Source out to any output PFI terminal. NI USB-621x User Manual 8-26 ni.com