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

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

    Scheduled Pinned Locked Moved Mervis
    4 Posts 2 Posters 1.1k Views
    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áčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post