(16.05.2022, 07:43)admin Wrote: This field is called enums in grp.create. It should either be a Lua table or a string containing a JSON object.
Hi again,
It works for objects accepting custom values. However the following code causes temperature to be read as (22) instead of 22.15
Code:
grp.create({
datatype = 9001,
address = '3/2/56',
name = 'Temperature',
enums = {},
comment = '',
forcename =true
})
So, I also tried
Code:
enums = nil
which works, but point is, if I had once set
Code:
enums = {},
Code:
enums = nil
I addition when I log same object when set right I see an empty string for enum key.
Can you please make more clear all the above.
Thanks in advance.