Comments (3)
I am having the same issue testing against libmodbus/tests/bandwidth-server-many-up
In [2]: import pylibmodbus
In [3]: a = pylibmodbus.modbus_tcp.ModbusTcp("127.0.0.1", 1502)
In [4]: a.connect()
In [5]: ffi.errno
Out[5]: 115
I tested with Python2 and Python3. In both cases I get this same behaviour.
from pylibmodbus.
I found the problem ... well, I was barking at the wrong tree. ffi.errno = 115
by itself is not a problem.
We where wondering why a.set_slave
was not working, and thought 115 was the problem.
The real problem was that we upgraded our python from 3.4 to 3.5 and as such had to create new venvs. We had installed this library from pip, but the pypi version is outdated ... and the pylibmodbus.modbus_tcp.ModbusTcp("127.0.0.1", 1502)
doesn't give an object with set_slave
method.
It would be great if you could release a new version to PyPI.
from pylibmodbus.
New release published on pypi.
https://pypi.org/project/pylibmodbus/
from pylibmodbus.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylibmodbus.