Forum Home › Forums › Understanding the Software › What can be stored as Minute data?
- This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by
Mikhail.
-
AuthorPosts
-
October 21, 2015 at 2:15 pm #629
dejan
ParticipantHi 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.
October 21, 2015 at 3:07 pm #630
MikhailModeratorHi 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.October 21, 2015 at 4:40 pm #631dejan
ParticipantHi 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.
October 21, 2015 at 8:14 pm #632
MikhailModeratorIt 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.
-
AuthorPosts
- You must be logged in to reply to this topic.