You can troubleshoot the Datasource in the gateway configuration web page under Datasources->Connections by editing your datasource (Induct_Database). If this datasource has worked before you’ll want to make sure the database is running. If it never has, you probably have a setting incorrect such as the username/password.
Alternatively, you can specify running the query against another datasource in the following format:
runUpdateQuery(Query, [DataSource])
yours might look something like this:
fpmi.db.runUpdateQuery("UPDATE TankSummary SET Tank Alias = value WHERE Tank = tankName", myOtherDataSource)
Not quite sure what you’re asking here. you want a FactoryPMI table component full of static data in a window, where the user can change the data, but you don’t want the data to come from a database?
You can do this (it involves a bit of scripting, because there usually isn’t much point in doing this), but please let me know if this is what you were really asking.
You add tables to your database from the database itself. What database are you using? (eg MySQL, Microsoft SQL Server, etc) Most databases come with some front-end software that makes adding tables easy.
Its important to remember that the database isn’t actually a piece of our software, rather, we work with any standard database. You might want to take a look at our software architecture picture here inductiveautomation.com/prod … /?id=AD-B3