I have a PCI-6601 counter card and I'm running LabVIEW 8.2.1 and DAQmx 8.5.0f5.
I have a counter task set up to continuously acquire the time that a button is pressed with respect to the time the task is started. I used this article in developer zone as a guide. I have attached a simplified version of the program that I'm running.
The VI works fine in collecting the data I want. The button is bouncy, so on ever click I get about 15 data points. That's not a problem, since I am debouncing in software. However, intermittently, I get error -200141. This problem is described very will in this forum thread, in which the consensus workaround is to filter the input (note that another solution would be to use DMA for the data transfer, but I don't have enough available DMA lines to do this). I can wire up a passive analog filter on the input line, but I would rather try digital hardware filtering first. You can set up digital filtering on PFI lines with a PCI-6601, which I have attempted to do (following this knowledgebase article). This is where I am getting error -200772, and you can see in the screenshot that it has configured the filter on the 100kHz Timebase, which is not what I want to do. I want to set up the filter on the PFI line that the button is attached to.
Does anybody know how to configure a digital filter for the source input to a counter that is configured to count edges?