08-28-2013 04:09 PM
It looks like the numbers were not saved properly. I have my sampling rate at 10000, number of samples per channel is 1000, and the sample length at 100. So what you're saying is I need to control the number of samples collected (lets say 100) so that if I get 100 samples collected in my loop it will average every sample collected?
What i'm eventually going to be measuring is a voltage from a sensor which has very little fluctuation (it is a laser sensor so it will be fairly constant).
08-28-2013 10:17 PM
Yes. You will have to pay attention to the number of samples and sample rate.
Now you are saying that you have a signal with very little fluctuation. So where is your problem? You started out with your problem saying that you had a sine wave that wasn't averaging the way you though it would.