Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    AVG - Moving average - number of samples?

    REXYGEN Studio
    2
    6
    200
    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.
    • S
      Scoobsalamander last edited by

      I want to know the 15min running average of a signal which is updated every second.
      Do I enter '900' for the parameter 'n' in the AVG FB or is this related to the tick parameter set in FB EXEC?

      cechurat 1 Reply Last reply Reply Quote 0
      • cechurat
        cechurat @Scoobsalamander last edited by

        @scoobsalamander Hi Kris,

        thanks for your question. The parameter n - number of samples is related to the samples of running algorithm - therefore also related to the tick and ntickN parameters.

        Kind Regards,
        Tomas

        S 1 Reply Last reply Reply Quote 0
        • S
          Scoobsalamander @cechurat last edited by

          @cechurat
          So, thus this mean that with the below settings I need 1800 samples for a 15min running average, correct? (50msx10 --> every 0,5s a sample)

          6b7cc2a0-3907-485d-9b53-94daae05be31-image.png

          cechurat 1 Reply Last reply Reply Quote 0
          • cechurat
            cechurat @Scoobsalamander last edited by

            @scoobsalamander Yes, Kris - this is correct.

            Cheers,
            Tomas

            S 1 Reply Last reply Reply Quote 0
            • S
              Scoobsalamander @cechurat last edited by

              @cechurat ... this would mean that if I add a task in the future the timing might not be correct anymore.
              Would it not be better that this can be configured with timing (e.g. seconds, minutes, days,.....) instead of a certain amount of samples?

              1 Reply Last reply Reply Quote 0
              • cechurat
                cechurat last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                There is also an outdated REXYGEN community forum.

                Powered by NodeBB.