This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

localbus library documentation
#2
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):
Code:
local function reloadhandler(which)
  if which == 'objects' or which == 'all' then
    -- reload object list
  end
end

lb:sethandler('reload', reloadhandler)
Reply


Messages In This Thread
localbus library documentation - by antlomb - 28.01.2025, 16:44
RE: localbus library documentation - by admin - 29.01.2025, 06:41
RE: localbus library documentation - by admin - 29.01.2025, 07:56

Forum Jump: