18.12.2018, 11:27
(18.12.2018, 11:24)Daniel. Wrote: Then do it via script.
Tag all objects which you want to pool with tag 'Read' and make a schedule script which will run as often as you want. just make sure it will not run faster then time of execution of the script. 1000 X Delay
You can add also to start up script to read on boot.Code:myobjects = grp.tag('Read')
for _, object in pairs(myobjects) do
log(object.address)
-- send read request to object
grp.read(object.address)
os.sleep(1) --dealy in seconds
end
Thanks. But how will this reduce bustraffic when polling?