Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A large number of variables in Databucket.
#5
I noticed the slow down too. A work around I use: 

I like real time-ish data displayed, but I don't need it saved. So I duplicated the variables in Arduino. Set 1 is tied to their value displays & refresh at 3 second intervals. Set 2 feeds the chart and data buckets, but only refreshes once a minute. Chart data is stored for 2 days. I only have 2 variables, temp and humidity.

It's still not perfectly smooth, but I went from about 0.5 frames per second to maybe 20-25 fps. With 1 day period selected it slows down to ~20 fps. At 12 hrs selected ~25 fps.

The slow down makes sense when you realize 3 second readings * 48 hours = 57,600 data points. With 60 second readings, it drops down to 2880.

Hope this helps!
Reply


Messages In This Thread
RE: A large number of variables in Databucket. - by rcl27 - 10-24-2023, 03:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)