gianni-sch / pymodbus

Automatically exported from code.google.com/p/pymodbus
0 stars 0 forks source link

Patch for /trunk/examples/common/custom-message.py #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some mistakes like:
TypeError: unbound method __init__() must be called with ModbusResponse 
instance as first argument (got CustomModbusRequest instance instead)

And strcut is used but wasn't imported.

Original issue reported on code.google.com by lampa...@gmail.com on 14 Jun 2013 at 7:54

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the fix, I think I wrote this example for someone from memory and 
then didn't test it. This is fixed on github with: 
https://github.com/bashwork/pymodbus/commit/c2a4368b9d77481dbc6e8fa26593be2e1749
cc91

Original comment by Bashw...@gmail.com on 19 Jun 2013 at 1:44