Logic Machine Forum
Possible to get firmware version from Lua script? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Possible to get firmware version from Lua script? (/showthread.php?tid=5632)



Possible to get firmware version from Lua script? - dnky76 - 25.09.2024

I guess the title says it all really, is it possible to get the current firmware version from within Lus somehow please?


RE: Possible to get firmware version from Lua script? - admin - 25.09.2024

Code:
version = io.readfile('/lib/genohm-scada/version')
log(version)