Another method is the store a number of results and calculate the

average of these points.

Do sample fast to get more data and you will get a better result.

The method with the best results depends on the noise expected, on its

spectrum and amplitude distribution.

Median is fine if you have a lot of good data and a few wrong ones far

away from the 'real' result..

AVG and Lowpass is fine for symetrical noise.

DC / AC is fine in the same case, but the parameters cannot be chosen by

yourself.

Good Luck

Urs B?gli

preston johnson schrieb:

Quote:

>One method is to use a "median filter" this is a statistical median

>of the data you have collected over a brief period of time.

>Presumably, you will have a good number of cycles from the {*filter*}y

>motion. Use the statistical function for median. This will sort the

>data from most to least and produce a number in the middle of the

>list.

>A second method is to use a low-pass filter to filter all data above

>say 1hz.

>A thid method is to use the DC and RMS function and take the DC output

>of the function.

>Try all three to see which produces the best result.

>Sincerely,

>Preston Johnson