Logic Machine Forum
grp.create() value_custom - 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: grp.create() value_custom (/showthread.php?tid=4044)

grp.create() value_custom - emme - 15.05.2022


creating modbus device profile is it possible to specify custom value visual by using the value_custom key as table.

Is there a way to use the same key in scripting while creating objects using the grp.create() function?

I tried value_custom()... but it was not considered while creating a new group


RE: grp.create() value_custom - admin - 16.05.2022

This field is called enums in grp.create. It should either be a Lua table or a string containing a JSON object.