12-23-2007 04:29 PM
12-23-2007 07:14 PM
12-24-2007 08:08 AM
01-16-2008 11:05 AM
01-16-2008 12:44 PM
I'm assuming your high-freq measurements are caused by high-freq ringing after real transitions and that you don't get spikes elsewhere. If so, there's a way to get E-series boards to produce similar behavior to a digital debounce filter. More info can be found on the site (like here for example) by searching for terms like retriggerable, pulse.
You'd use 1 counter configured for retriggerable single pulse generation to do the filtering. Once a transition triggers it, further triggers will be ignored until the full pulse has been generated. For example, to make yourself immune to transitions >10 kHz, you need a pulse duration of 100 microsec. I'd set the pulse low time to a minimal value like 1 microsec and high time to 99 microsec each. (You may also need to set the initial delay to 1 microsec to handle the very first trigger.)
Then you have your 2nd counter measure the period or frequency (using the 1-counter method) of the 1st counter's output. (In some ways, this works even better than the newer board's digital filter because it adds less delay to the signal's active edge for a given filter cutoff frequency. On the other hand, it costs you the use of a counter to do it.)
There'll be some learning curve to get from the DAQ Assistant to the method I've described. Best quick advice I can give is to search for, dissect, and learn from the examples you can find in your LabVIEW installation and on this site.
-Kevin P.