norrback Posted October 14, 2009 Share Posted October 14, 2009 I am steraming a quad encoder input and a 0 - 10V ain @ 1000hz and want to apply a filter on my 0 -10V ain0.What's the best way to make a filter when streaming? I am logging the data into a text file, degree (360/8192) vs position of a linearsensor on ain0. like this: 0.023 V and 0.044 degree 0.054 V and 0.087 degree Then presenting this trigonometric funktion in excel, but the singal @ ain0 has too much noise. This would be the function of the filter. mm is the ain0 channel name. First a want to do: mm + mm + mm /3 The next thing is to take mm and use a filter expression like: if mm is not mor than 0.002 times larger/smaller than the average of mm,, it should not be added to history of my filtered channel. Any other way? /Andre' Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.