29.01.2025, 06:41
localbus is not documented because most users don't need to use it directly.
step waits and processes a single bus message. loop processes all messages received in the give time.
You can listen to reload events which are sent when any object properties are changed (name, tags, datatype, units etc):
step waits and processes a single bus message. loop processes all messages received in the give time.
You can listen to reload events which are sent when any object properties are changed (name, tags, datatype, units etc):
Code:
local function reloadhandler(which)
if which == 'objects' or which == 'all' then
-- reload object list
end
end
lb:sethandler('reload', reloadhandler)