Counter Module
The Counter module (FRQCNT2) provides a two-channel, three-mode frequency counter. For each input signal, the device counts the number of edges – rising or falling – detected within a specified gating period. Depending on the mode of operation selected, each channel can display the frequency of the signal, its period, or the total number of edges counted.
Figure 2 illustrates an example of the run-time panel for this instrument, accessed by double-clicking on the icon for the instrument, in the Soft Devices chain of the Devices view.
Features at-a-glance
- 2-Channel, 3-Mode counter
- Frequency Mode (with a range of 0 to (TIMEBASE / 2))
- Period Mode (with a resolution of 1 / (TIMEBASE / 2) Seconds)
- Event (edge) Counter Mode (able to count up to 9,999,999,999 edges)
- Selectable gating period
- Ability to count rising or falling edges of incoming signals
Availability
The FRQCNT2 device can be found in the FPGA Instruments integrated library (FPGA Instruments.IntLib
), located in the \Library\Fpga
folder of the installation.
Designing with the FRQCNT2
Use the following links to explore use of the Counter module in more detail: