09-21-2009 07:53 AM
Hello,
I'm trying to get pulse count on the counter input(PFi0- USB 6009). However the counts are very erratic and does not match with the actual counts. I started to read about conter debounce filter and learnt that using ci.countedges.dig.fltr.enable and ci.countedges.digfltr.minpulsewidht properties on the DAQmx channel will supress the counts. The question I have is, when i'm trying to use these properties on the channel, i cant see them and throws an exception as: the specified property is not supported by the device or not is applicable to this task. Can anyone please show some insight on this issue and a possible workaround?
thanks,
09-22-2009
04:29 PM
- last edited on
03-18-2024
11:57 AM
by
Content Cleaner
Hi gsajja,
Unfortunately, the error message is pointing out that digital filtering is not a feature of the 6009
If you do need digital filtering, you would have to either use your own external circuitry, or purchase a board that does support digital filtering (see X Series, M Series, and Counter/Timer boards). The 6009 is an introductory product and does not provide all of the full features of some of our other hardware.
To better diagnose the problem, you might want to try scoping the line to see what the signal actually looks like--you would need to acquire at a high enough sample rate to be able to characterize the edge of your digital signal. You might want to check the connections of your input signal--perhaps the problem could be a grounding issue.
Best Regards,
09-23-2009 07:14 AM
John-
Thankyou for the feedback. I used a IC debouncer switch infront of the signal going to the counter input. That seems to work pretty good so far.