08-15-2012 02:53 PM
MrLearners wrote:This is the screenshot of the graph block diagram.
So where do you still have problems? The filtered data you show in the small snippet looks fine and there is no inversion. In fact simulating your graph using the unfiltered data ptbypt in a loop gives about the same result. (see attached)
08-15-2012 02:58 PM - edited 08-15-2012 02:59 PM
08-15-2012 08:50 PM - edited 08-15-2012 08:51 PM
Hi Altenbach,
I am not sure why I am having this problem. You see in this image, the value is not even close. Is it normal, or perhaps this filter dosen't work for me?
08-16-2012 12:46 AM
What do you get if you run the VI that I have attached above?
08-16-2012 07:55 AM - edited 08-16-2012 08:02 AM
Hi Altenbach,
I used your method in my code and run it. The image is what I get, in the graph there is only 6 pts. In the data I attached previously, there is 52 pts. The filtered data and unfiltered data differ alot.
08-16-2012 10:47 AM
You only show 6 points, not 52. You still did not tell me if you get a reasonable result by running my example with the default data that is already in it. I am trying to figure out if the algorithm or defaults have changed.
Would it be possible to attach the actual data (52 pts) that you think does not work well.
08-16-2012 11:23 AM
Hi Altenbach,
08-16-2012 12:22 PM
Im not a filter expert but I have gotten very satisfactory results in the past using the median pt by pt filter
(using a rank of 2 or 3.)
This usually maintains the original shape of the curve without too much data loss.
08-16-2012 02:14 PM
What is a "pt value"?
A point-by-point approach typically always lags a little bit, because it only has one-sided information and cannot predict points that haven't been measured yet.
08-16-2012 08:23 PM
Hi Altenbach,
Here is more data,