11-28-2012 05:22 AM
Hi,
I am currently working on a LabVIEW based data-logger and display program for a laboratory that I am running.
Wind speed and direction are two of the data types I am harvesting and looking to display. However due to a low sampling rate that is being forced by the hardware, wind gusts case very erratic leaps on the gauges I use as indicators.
I wish to make the movement/changes smoother by adding/simulating inertia in the gauges on the front panel, but so far I have been unsuccessfull in figguring out a method of doing this and I haven't found any info on the web.
So I'm wondering if anyone might have an idea on how to do this?
Thanks in advance!
Solved! Go to Solution.
11-28-2012 05:44 AM
For the data feeding the gauge take an average of the last 5 or possibly higher values and use this average value output to the gauge, this will provide a degree of damping but won't mess up any data you are recording. If you are sampling very slowly you might want to average the last three readings, the actual number of samples you average will be down to what you feel looks best with the system you have - Mike
11-28-2012 06:01 AM
Thank you! I think this will be the solution I'm looking for.