• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Function block to get the average of a numeric variable over time

    Mervis
    2
    4
    234
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pascal37 last edited by pascal37

      Dear Support team,

      I need a function block to get the average of a numeric variable over time:

      in1: numeric value
      in2: time period
      => (out): average of all different values received on the input during specified time time period

      Is there any pre-defined function block in Mervis for this? (did not found...!)

      Many thanks in advance for your help

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @pascal37 last edited by

        Hello @pascal37,
        there isn't a moving average FB per-se, but try looking into the B86 Filter:

        0_1584517546211_a14aa374-158b-4b7b-8cb3-13fe6bc312e5-image.png

        Best regards,
        Martin

        1 Reply Last reply Reply Quote 0
        • P
          pascal37 last edited by

          Hi @Martin-Kudláček,

          Many thanks for you advise: it could be helpfull or maybe also b84 or b85...
          I will check whitch FB match best my needs.

          Kind regards, Pascal

          P 1 Reply Last reply Reply Quote 0
          • P
            pascal37 @pascal37 last edited by

            Hi @Martin-Kudláček,

            b86_filter is effectively the best fit for my case, many thanks!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post