Hi,
It looks like you can definatelly use some of the DSP or statistics functions from Measurement Studio. Here are a couple of pinters:
- Take multiple samples and perform averaging. Instead of recording a single point every second I would recoment acquires 100 samples @ 1000 Samples/Sec; get the average of those samples and send that to the graph and to the moving average. This will clean up a lot each data point (specially when working with load cells in something that is changing mass).
- Take a look at the functions in CWStat; there is a linear fit function that you could use to extrat the slope information without the need for averaging, It uses the least squares method; so the result should be accurate.
- If the data has lots of noise yo
u can perform some filtering; probably a Butterworth low-pass filter (found in CWDSP) could help reduce the high frequency variations on your data and give you better results.
There are some good example that ship with MStudio that can help you get started with the DSA and Stat function. Also the MStudio reference help contains some valuable information and small pieces of code.
I hope this helps.
Regards,
Juan Carlos.
N.I.