Author Topic: Custom Trending with SQLite  (Read 7713 times)

Justinb94

  • Newbie
  • *
  • Posts: 14
    • View Profile
Custom Trending with SQLite
« on: December 13, 2020, 11:09:44 AM »
I have created a custom dynamic trend graph that gives the operator options to change x and y axis scale.

I used a Data Subscriber to insert 3 values (pump speed, temp and current) into a SQLite database.  I then linked the chart to the SQLite database. 

See the image attached for greater detail. 

MajorFault

  • Guest
Re: Custom Trending with SQLite
« Reply #1 on: December 13, 2020, 01:54:00 PM »
Good work.

Alpaslan

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Custom Trending with SQLite
« Reply #2 on: May 12, 2021, 04:50:31 PM »
Hi,

I am trying to do this however no success. Is it possible to share code?
One step at a time baby, One step at a time.

Justinb94

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Custom Trending with SQLite
« Reply #3 on: May 12, 2021, 09:20:46 PM »
Yes quite happy to share code.  I would just have to go back through my projects and find it.

However, I wouldn't reckon doing this, it took hours/days of code writing and not to mention the maintenance.  I have since discovered InfluxDB, Grafana and Node Red. 

InfluxDB is a purpose built time series database built for trending historical data, grafan takes out all the hard work with querying databases and it provides visually appealing dashboards.  Combined with node-red it takes roughly 5 mins to set this software stack up compared to hours/days of tinkering in Visual Basic code.

If you would still like the source code let me know.

Noe

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Custom Trending with SQLite
« Reply #4 on: May 17, 2021, 03:31:47 PM »
Interesting. Have you ever tried MS Power BI?

Yes quite happy to share code.  I would just have to go back through my projects and find it.

However, I wouldn't reckon doing this, it took hours/days of code writing and not to mention the maintenance.  I have since discovered InfluxDB, Grafana and Node Red. 

InfluxDB is a purpose built time series database built for trending historical data, grafan takes out all the hard work with querying databases and it provides visually appealing dashboards.  Combined with node-red it takes roughly 5 mins to set this software stack up compared to hours/days of tinkering in Visual Basic code.

If you would still like the source code let me know.

Justinb94

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Custom Trending with SQLite
« Reply #5 on: May 27, 2021, 07:12:54 AM »
I have not tried MS Power BI.  I have tried to stick with an open source stack.

ibah

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Custom Trending with SQLite
« Reply #6 on: June 03, 2021, 09:57:45 PM »
Hi Justin,

Is it possible to share your code / component ?