LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Inertia in gauges

Solved!
Go to solution

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!

0 Kudos
Message 1 of 3
(2,688 Views)
Solution
Accepted by topic author RobertBa

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

0 Kudos
Message 2 of 3
(2,684 Views)

Thank you! I think this will be the solution I'm looking for.

0 Kudos
Message 3 of 3
(2,676 Views)