Averaging values

Forum Home Forums Understanding the Software Averaging values

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3073
    tripode
    Participant

    Hello, I have an analog value from a level sensor, wich has some oscillations I want to filter, in order not to have too many events/alarms when it reaches high or low values. I am trying it by checking the “average” box, but I dont get the expected results. How caould it be done? Thanks in advance.

    #3079
    Mikhail
    Moderator

    Hi,
    If you tick the Averaging checkbox, it affects on minute and hourly data stored in the archive. But not affects current values. You need custom formulas or develop module that perform averaging.
    What averaging algorithm do you need?

    #3082
    tripode
    Participant

    OK, understood, so averaging only has something to do with stored archives.

    I would like a time averaging value algorithm, just to filter the peaks I have in my analog input.

    #3085
    Mikhail
    Moderator

    What period of time and how many points should be included in average value?

    #3088
    tripode
    Participant

    Mikhail, 5 minutes and 100 values would be nice.

    #3098
    Mikhail
    Moderator

    It is possible to solve the task by creating formulas in the configuration database. Formulas are based on C#. Do you know C#?

    #3100
    tripode
    Participant

    I know C/C++, now I will try to learn C# and post here a new function for averaging 🙂

    #3108
    Mikhail
    Moderator

    Good 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.