IMSB Lua Script Development

Lua Logo

Developers have the possibility to adapt and extend the iMSB already rich features even more by the means of lua scripts. Lua is a powerful, efficient and embeddable multi-paradigm programming language designed as a scripting language. Detailed description and reference information is available at www.lua.org.


Two kind of lua scripts can be embedded in the application:

Sensor Scripts

iMSB supports sensor value based scripts. This means that a script can be associated to a calculated sensor value that will be evaluated on a regular basis during data logging. Such a value behaves as any other value. It can thus be visualized, announced and logged by the standard iMSB functionalities. Lua scripted values are  available in a script sensor that contains eight values to which a Lua script can be attached. You can of course instantiate several occurrences of this sensor

For more information check the iMSB Lua Sensor Library page and download the reference manual.


Widget Scripts

With the lua Widget scripting libraries user specific widgets can be programmed and attached to an iMSB display view. Widgets are essentially a graphic representation of a display element, such as a meter, used to display sensor values or any other graphic representation. A Lua Widget is attached to a display view the same way as any other pre-defined meter.  The Widget library presents a great means to extend you display capabilities to suit you particular need by adding features not commonly available in the application.

.For more information check the iMSB Lua Widget Library page and download the reference manual.


 Thomas Styger, iMSB   © 2012