Thank you for the direction. I am still having problems with the filter though. I am trying to filter out noise from an encoder signal with the digital filter but it seems to have no effect. To verify this we ran our program with the min pulse width on the digital filter set to 1000000 seconds, many orders of magnitude higher than the noise and the desired signal itself. My understanding is that this should remove all of the signals coming from the encoder and we should observe 0 pulses on the counter. Yet when we run the program it still counts in the same manner it did before we even tried enabling the digital filter. We have also tried setting the min pulse width to 0.000000001 and there's still no discernible effect. My code is as follows:
DAQmxSetCIFreqDigFltrEnable(taskHandle5, "/Dev1/PFI10", TRUE);
DAQmxSetCIFreqDigFltrMinPulseWidth(taskHandle5, "/Dev1/PFI10", 0.001);
DAQmxSetCIFreqDigFltrEnable(taskHandle5, "/Dev1/PFI8", TRUE);
DAQmxSetCIFreqDigFltrMinPulseWidth(taskHandle5, "/Dev1/PFI8", 0.001);
Have I enabled the filter correctly? Everything compiles and runs without errors.