From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(335 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
(331 Views)

Thx for sharing the info!

0 Kudos
Message 13 of 13
(327 Views)