Contents
x
ni.com
AO Sample Clock Timebase Signal................................................................ 5-10
Chapter 6
Digital Input and Output
I/O Protection ................................................................................................................ 6-1
Programmable Power-Up States.................................................................................... 6-1
Connecting Digital I/O Signals ..................................................................................... 6-2
Logic Conventions......................................................................................................... 6-3
Getting Started with DIO Applications in Software...................................................... 6-4
Single Point (On-Demand) Edge Counting ...................................... 7-3
Buffered (Sample Clock) Edge Counting......................................... 7-4
Non-Cumulative Buffered Edge Counting ....................................... 7-5
Controlling the Direction of Counting.............................................. 7-5
Single Pulse-Width Measurement .................................................... 7-6
Buffered Pulse-Width Measurement ................................................ 7-7
Single Semi-Period Measurement .................................................... 7-9
Buffered Semi-Period Measurement ................................................ 7-10
Method 1—Measure Low Frequency with One Counter ................. 7-10
Method 1b—Measure Low Frequency with
One Counter (Averaged)................................................................ 7-11
Method 2—Measure High Frequency with Two Counters .............. 7-12
Method 3—Measure Large Range of Frequencies Using
Two Counters................................................................................. 7-13
Choosing a Method for Measuring Frequency ................................. 7-14