LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continously Averaging and shifting values in arrays (FIFO)

Thanks that helps. But I wish to add it with sample time. I want to see time in the saving file also as 1, 2, 3, 4ms...so on with data file.

0 Kudos
Message 11 of 13
(322 Views)

See this thread here for discussion on using lossy enqueue element to keep a running average. If the number of points you want to average changes you can destroy the queue, take the elements remaining and queue them back up in a new queue which has a different size configured.

 

Specifically see the post by Jeff B.

0 Kudos
Message 12 of 13
(318 Views)

Thx for sharing the info!

0 Kudos
Message 13 of 13
(314 Views)