Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Average of the last 2 minutes of WindVector


guilherme.amadeu Jan 24, 2022 05:24 PM

I'm looking for a solution to my problem: I need to display the average of the WindVector values of the last 2 minutes, with 15 second sampling and display every 1 second. What would be the best solution? I'm implementing a ring buffer to store the 8 sampled points, but it's getting complex.


nsw Jan 25, 2022 03:27 PM

Hi. You could look at the "AvgRun" instruction. From your description, it sounds as though this may do the job.


guilherme.amadeu Feb 7, 2022 12:52 PM

Sorry for the delay in responding. In fact AvgRun solved the problem, I just needed to analyze it better. Thank you very much!

Log in or register to post/reply in the forum.