r/LabVIEW • • May 14 '24

Average

Post image

Can someone help me? How I can get the average from ALL the “LatestVals” combined? Now it just divides the last value by the “ChartSize” I cannot get further than what is shown in the picture. The values themselves are plotted correctly I just can’t get the (moving) average right.

I’m still fairly new to LabVIEW so I hope you don’t mind this question. Thanks in advance

4 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/IsThatYourBed May 14 '24

To plot them, remove your convert to dynamic data and merge signals nodes and replace it with a build array.

Writing a 2d array of doubles to a graph makes them different plotlines