Hello everyone,
I have been working on showing historical data, from a external database, in a graph or table with PLCnext hardware. Even tough you can do many things with the different HMI features, I couldn’t quite achieve the result I was looking for with the e-hmi. So I turned my attention to adding a raw HTML page (with Chart.js for example) by using the support files function in PLCnext Engineer. I looked into the REST API for getting data to my chart, but realised this data (coming from a external database) needs to be present in the GDS to use it with the REST API. I dont think storing huge amount of data from a database in the GDS is how the GDS is meant to be used.
I dont know enough about HMTL, JavaScript, and Webservers to figure out the correct way to do this, if there even is a correct way of doing this. So I was hoping if people on this forum had any idea’s or tips to achieving my goal of showing histrorical data, from a external database, in a graph with PLCnext hardware.