The Lua Scripting engine is an integral part of system:inmation’s design. Fully embedded within the system, it allows the user to completely customize the management of their data network.
Do you wish to combine the output of multiple real-time data streams and compare it with historical data? Or selectively browse a large OPC server namespace and return only the items you’re interested in? Perhaps you want a fully automated KPI dashboard that shows daily, weekly and monthly aggregates for all of the above data sources? The Lua scripting engine can achieve all this and more.
Although this sounds impressive, it can also be a little daunting to begin with and raises some questions. What is Lua? Why would I want to customize my system anyway? And how do I even get started?
Firstly, what is Lua and why does system:inmation use it? The Lua scripting language was specifically developed to integrate with software and provide scripting functionality. It is fast, lightweight and relatively simple making it ideal for use with real-time data applications and great for beginners. This flexibility makes it easy to fully automate tasks or perform actions on demand.
In system:inmation Lua scripts are attached to data processing objects that execute the scripts. Depending on the object, a script could be executed once, periodically or when triggered by another item or action. Scripts can be written directly into the DataStudio script editor and executed in real time.
But why customize the system anyway? Well, even though system:inmation has a comprehensive set of configuration options, every data network is different and the way data is gathered and how the user wants to use that data differs from system to system (and user to user). Customizing the system to provide specific information of specific type to each user provides great benefits in productivity and efficiency. Customization naturally includes the automation of tasks and actions, saving the user time and your organization money.
Sounds good so far, so how to get started?