Page 1 of 1

"Events-Any" or "Events-Change" does not fill data gaps

PostPosted: Tue Feb 26, 2019 6:09 am
by CrazyFin
If I am using the data sources "Events-Any" or "Events-Change" and set the "Fill Data Gaps With Last Available Info" then IndigoPlotD does not fill those gaps with last known data.
It works fine for Average as the data source.

Here is a screenshot where the orange line is "Events-Change" while the red line is "Average":
GRAPH - Cigar storage PLASTIDOR-minute-S2.png
GRAPH - Cigar storage PLASTIDOR-minute-S2.png (90.47 KiB) Viewed 2457 times

As you can see above the orange line has a line drawn from the last known data point to the new datapoint instead of having the data in-between filled with last known data.

Re: "Events-Any" or "Events-Change" does not fill data gaps

PostPosted: Tue Feb 26, 2019 9:52 am
by kw123
Events is not meant to work with fill gaps

What you see is a straight line between the events point.

Events are for rare events and should only be used as dots to indicate when something happened.

You could try histogram mode for the lines though. It might work but not sure.
events do not have data between the events. They are stored not in binned format ( one entry for each time bin) but just time;value when the events occurred


Sent from my iPhone using Tapatalk

Re: "Events-Any" or "Events-Change" does not fill data gaps

PostPosted: Tue Feb 26, 2019 10:30 am
by CrazyFin
Ah ok, then it is all clear.

I have configured the data sources in IndigoPlotD with 60 second updates.
What kind of average do I get when I use the average as the data source? I am not able to find any information on how many time bins is included when I choose average as the data source value.

"Events-Any" or "Events-Change" does not fill data gaps

PostPosted: Tue Feb 26, 2019 12:19 pm
by kw123
Regular data
1. at start read sql logger db. Fill bins (5min 1hour 1day) with ave min max etc - use options eg fill w last value if no data in time bin etc
2. During regular execution fill bins with current data = device state value. It is always present. Checked once a minute

Event data: Every time plot is generated read sql dB for CHANGES in data and only use
Time stamp ,value when value has changed or event happened - see definition of different events

Karl


Sent from my iPhone using Tapatalk