You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I need to read more than a dozen PLCs and each Plc needs to read 60 address. When I read one PLC, it is not necessary for the other Plc to wait for lock.
In my test:
When use @threadsafe_function call execute cost more than 20 seconds every time . Use with self.lock: takes only cost less than 1 seconds
The text was updated successfully, but these errors were encountered:
modbus-tk/modbus_tk/modbus.py
Line 137 in c168f71
In my project, I need to read more than a dozen PLCs and each Plc needs to read 60 address. When I read one PLC, it is not necessary for the other Plc to wait for lock.
In my test:
When use @threadsafe_function call
execute
cost more than 20 seconds every time . Usewith self.lock:
takes only cost less than 1 secondsThe text was updated successfully, but these errors were encountered: