Closed GoogleCodeExporter closed 8 years ago
Hi Bob,
Thanks for this suggestion. I think it is a good idea.
The callback mechanism in modbus_tk are implemented with hooks (see hooks.py)
I 'll add a new hook when writing into a block.
Does it meet your need?
Best Regards
luc
Original comment by luc.jean@gmail.com
on 12 Oct 2010 at 5:59
Original comment by luc.jean@gmail.com
on 12 Oct 2010 at 5:59
I've created a new hook that make possible I think to implement your wish.
Please get the new version from mercurial.
Please look at hooks.py and test/unittest_modbus.py. The testHookOnSetBlockData
should help.
Waiting for your feedback
Best regards
Original comment by luc.jean@gmail.com
on 12 Oct 2010 at 4:15
Original issue reported on code.google.com by
robert.b...@gmail.com
on 11 Oct 2010 at 11:04Attachments: