ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
06-04-2009 07:34 PM
Hi,
I am trying to create a moving average for the data I am collecting. I have managed to implement the movingaverage.vi into my program, but now I want to display the actual value on the front panel but only once every couple of seconds (at the moment I am collecting data many times a second and this is too quick to read on the front panel). Is there an easy way to do this?
Thanks
Solved! Go to Solution.
06-04-2009 07:50 PM
06-04-2009 07:53 PM
There might be examples of this on the forum. The easiest implementation is to use a State Machine, where you enter the "refreshDisplay" event at timed interval.
Have a look at the attached example.
R
06-04-2009 10:43 PM
06-04-2009 11:11 PM
use elapsed time vi.
reset it after every 10 sec as per your requirement
Gaurav k![]()
06-04-2009 11:14 PM