Overview
This example shows how to proceed software filter to signal and then calculate frequency.
Description
Unlike the cDAQ 9172, the 2nd Generation Compact DAQ Chassis does not support digital filtering before NI DAQmx 9.4. NI recommends upgrading to the latest version of NI-DAQmx, however if you are unable to upgrade, the inability to provide digital filtering can cause issues with performing frequency measurements on noisy input signals. Then you can use this example to process software filter.
Requirements
Software
Hardware
Steps to Implement or Execute Code
1.Configure the following settings in the block diagram:
(1)Select the counter.
(2)Set the pulse width.
2.Run the VI
3.Check the frequency result.
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.