We are looking at developing a control snap to use ctrlX as our next control system. In order to provide a HMI and configuration tools to the customers we would lite for CtrlX to provide a webserver, where to we could either connect a web-enabled HMI, a wired connection to a laptop or wifi to a tablet/phone and utilise the same interface.
In our view, this would be the simplest and most usable approach. And from what we have read this should be a supported approach... However, i have not found any guide/tutorial/quickstart on how to set up a web server interface on CtrlX core?
Have we missed anything here? Anyone has any good links?
My first understanding was that webcore would be the solution perfect for us, but on further reading it seems i was mistaken. Webcore is mentioned as being used in CtrlX.. but seems to be just a framework for the graphic design?
What we want to achive as the next step, is a webserver running on the CtrlX core/virtual machine, that can serve a page to someone connecting and that can access data from the datalayer.
Please have a look into the new SDK (1.4.2). There is a new example in the folder public\samples-go\hello.webserver which shows how to create an app which serves a static webpage and how to integrate a link to this webpage into the landing page and main menu.
I think this is a good starting point for you to place your own web-based screens on the device.
Would there also be a way to integrate the web pages in the CtrlX core web-app? (One possible idea could be using iframe)
In the example I see that we are hosting the index.html on port 1234 and so we are "leaving" CtrlX web app in order to enter the SDK app.
I'm wondering if there is a possibility to host our SDK made app with the same look and feel as the rest of ctrlX core web app.