Giter Club home page Giter Club logo

Comments (5)

bashwork avatar bashwork commented on August 27, 2024

I am fine adding this, but I will keep the default set to None. As for the python3 branch, I know a few groups who are using it, but I believe only for TCP async clients. Ideally I don't want two branches (just one), but I have been wary to pull the switch quite yet without more people trying it out and reporting their results on both 2.7> and 3.x.

from pymodbus.

myTonino avatar myTonino commented on August 27, 2024

Thanks for considering this for integration. Default to None is fine. Regarding Python3: the modbus lib is the final lib blocking the move of my open-source roasting app Artisan to move to Python3. I used the minimialmodbus lib up to now exactly for its Python3 compatibility, but then wanted to add TCP/UDP support and moved to pymodbus as I saw and tested successfully the Python3 branch. Then I discovered the timeout issue on UDP and could solve it only nicely by some monkey patching (class overwriting) and parameter passing (only available in the latest version and not the Python3 branch).

So for me the Python3 branch worked as expected (mostly tested the RTU and UDP part) and I would vote for ONE branch that supports both Python version.

from pymodbus.

myTonino avatar myTonino commented on August 27, 2024

Upps. Note that behind myTonino and MAKOMO is the same person, me. Thanks for giving us pymodbus!

from pymodbus.

bashwork avatar bashwork commented on August 27, 2024

Fixed with b13c89d

from pymodbus.

Eventect avatar Eventect commented on August 27, 2024

I believe the modification above has not been committed properly. It should read, as MAKOMO suggested:

self.socket.settimeout(self.timeout)

but it appears to have been commited as:

self.settimeout(self.timeout)

which deliver a no method error in case the timeout option is passed.

from pymodbus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.