What can be stored as Minute data?

Forum Home Forums Understanding the Software What can be stored as Minute data?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #629
    Avatardejan
    Participant

    Hi Mikhail,

    I have a question about minute data or generally any historic data. Is a minute value which is stored in a dat file just a snapshot of an input channel value at a certain point in time, or the minute value is derived from the channel values received in the time interval between two consecutive time points? What I have in mind is to store the minute average of an input channel in the minute data. Specifically, I have a flow meter which produces one new sample each second. I have to collect these samples and later calculate the total flow for a given period. That means I can collect the data each second, store the average per minute as minute data and later use the stored minute data to calculate the total flow in any given period.

    #630
    MikhailMikhail
    Moderator

    Hi Dejan,

    The last received data for an input channel is stored in the minute snapshot.
    Such averaging as you described is implemented out of the box. Just tick averaging checkbox for the input channel in SCADA-Administrator.
    It is a good idea to compare your own calculated average value with a value given by Rapid SCADA.

    #631
    Avatardejan
    Participant

    Hi Mikhail,

    Thanks for the quick reply.

    I know there is the averaging check box, but can you please tell me exactly how it works. Any averaging is performed over a certain number of samples, so my question is how many samples does the built-in averaging takes and over what time period. I would like to have the new average on every minute based on the samples from the previous minute.

    You mentioned comparing my own calculated average with the built-in average. Could you please give me a hint on how to calculate my own average.

    #632
    MikhailMikhail
    Moderator

    It takes all the samples those were received from SCADA-Communicator.

    To perform the check you can modify test server module. Or create a tricky formula for the channel that will add every received value to a variable and use this variable in the another channel of type Calculated real. The second variable is needed for storing number of received values.

    The second way is emulating values with help of generator in SCADA-Server.

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