Script editor
What is a script?
Scripts are simple computer programs which process and manipulate sensor data in real time. In the context of innius a script is a prerequisite for virtual sensors to produce real-time data. Scripts are associated with a specific machine, and may be ...
The script language
This article explains the script language. If you are looking for information about how to navigate around the script editor page, it is suggested you read Using the script editor and to take a look at the script examples and Essential knowledge for ...
Script examples
Here are some script examples: Script 1 This script is calculating a total counter value. Where the sensor 'CO' is the calculated sensor. The current value is calculated based on the value of the previous timestamp and the value of sensor 'BA' is ...
Essential knowledge for configuring scripts
When making scripts, time [t] is a very important aspect. The following points should be taken into consideration: The timestore When referencing back to previous values (e.g. IN[t-1] for sensor IN), the script gets these values from a sensor's ...
Using the script editor
Virtual sensors produce data based on scripts, made in the script editor. We recommend you first make your sensors in the normal way, before creating scripts. Scripts can then be accessed on the machine page in the Admin app. The drop down panel ...