ljean / modbus-tk

Create Modbus app easily with Python
Other
569 stars 213 forks source link

How to close RTU master port. #141

Closed saimadao closed 3 years ago

saimadao commented 3 years ago

I'd like to connect same port with different RTU connection info in one test case, How can I close the first opened one, I try to use _do_close() but I got 'Attempting to use a port that is not open' when reading in the second time

saimadao commented 3 years ago

my fault, the problem was solved