12.02.2018, 02:39
(06.02.2018, 10:35)admin Wrote: You can try using float32 data type and writing NaN value to your object. Note that it will still show as 0 in the web interface.
Thank you! I also realised I was attempting to manipulate grp.find results which of course does nothing. This is what works:
Code:
local function clearObject(name)
local obj = grp.find(name)
if ( obj ~= nil ) then
grp.write(name,0/0)
end
end
Trend now stops plotting as desired.
Thanks again