10-21-2008 03:42 PM
10-22-2008 07:26 AM
This is the code I want to use on the 9435
http://zone.ni.com/devzone/cda/tut/p/id/4287#toc0
Is this posible. I don't have a digital filter option in my MAX API when I try to do this. If the 9435 isn't cabable of doing this is there another technique that would acomplish the same thing?
Thanks
10-22-2008 09:18 AM
I have solved it in software using the timout event
I have the change detection digital read in an event loop. I store the digital data in a shift register in the event loop, and set the timout value to my filter time.
When a change is detected I set the timeout case in the event loop to my filter time.
If I don't see a change event my timeout event fires and sends the digital data stored in the shift register to my consumer loop. After the timeout event fires I set the timout to -1. A timout value is only trigged when I get a digital change event.
This seems to work well.
Hopefully NI will add programatic filtering on the 9435 That is my wish
10-22-2008 01:50 PM
Hello ASTDan,
Glad to hear that the software solution you found worked for you! I know that the 65XX series have programmable filters but not on the 94X series for C-series. It does have an AC smoothing filter as indicated on the page 13 of the manual but its not programmable. I would like to say that we are always looking for ways to improve our products and if you follow the link below you can make a product suggestion of your own!
Let us know if you have any other questions or concerns!
Cheers!
Corby_B
http://www.ni.com/support