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
#4
Per-message timeout is specified when creating localbus instance via new(timeout). Default timeout is 1 second.

step does not accept any arguments. It uses the per-message timeout.

When using loop the per-message timeout should be low enough otherwise the total function call time might be longer. For example if per-message and loop timeouts are set to 1 then loop can take from 1 to 2 seconds to complete.

You can also use copas library or socket.selectfds:
https://kb.logicmachine.net/scripting/sh...g-dimming/
https://kb.logicmachine.net/scripting/si...ble-press/
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: