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
Adding a timeout unconditionally before and/or after each request would be a waste of time. Only the client knows if it will send a single request or a sequence of requests that require the insertion of silence intervals. The duration may also vary from device to device.
Ideas how to make this more convenient for clients through the API are welcome.
If i read sequentially two the sets of registers, the second read never return.
For example:
let rsp1 = ctx.read_holding_registers(32000, 20).unwrap();
let rsp2 = ctx.read_holding_registers(32300, 40).unwrap();
A simple thread sleep of 10 miliseconds between readings solve the problem. However, I beleive this issue should be solved.
The text was updated successfully, but these errors were encountered: