From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

Moving average Trend line

Hello all,

 

I want to create Moving average Trend line (like excel) in LabVIEW for set of Signals.

I think we can use “Mean PtByPt.vi” for my Requirement. But, as per my attached VI,

I applied Mean in different ways but results are not matching. Can anyone tell me why it is not same & is there any better solution for “Moving average Trend line (like excel)”.

 

-Munna

Munna
0 Kudos
Message 1 of 3
(2,304 Views)

attachment

Munna
0 Kudos
Message 2 of 3
(2,295 Views)

Hello all,

 

I think this is the way to solve my issue.

We need to “initialize” internal State of VI for every iteration.

 

Munna

Munna
0 Kudos
Message 3 of 3
(2,235 Views)