deathwish88 / modbus-tk

Automatically exported from code.google.com/p/modbus-tk
Other
0 stars 0 forks source link

RTU master communnication is not adequate for multiple fast queries #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The RTU master queries are waiting for communication timeout in order to
detect the end of the response. 

It is not adequate for multiple fast queries.

A possible quick-fix would be to add an expected_length as input parameter
and to return when the corresponding number of byte is received

Original issue reported on code.google.com by luc.jean@gmail.com on 5 Jan 2010 at 6:20

GoogleCodeExporter commented 8 years ago
Has been fixed by implementation of expected_length. The expected_length is
automatically calculated during the request preparation

Original comment by luc.jean@gmail.com on 11 Jan 2010 at 8:18