RS-422 bus transaction managing

For help with the bus itself (not a specific product).
rpu_bus
Posts: 210
Joined: Sun Sep 18, 2016 6:07 pm

RS-422 bus transaction managing

Postby rpu_bus » Wed Jan 10, 2018 5:27 pm

The RS-422 is going to need transaction managing to simplify dealing with the bus state. Perhaps BusDevice in CircuitPython can be a guide.

https://github.com/adafruit/Adafruit_CircuitPython_BusDevice

One thing this allows is setting an object (e.g. device) that can then be used later in the code without having to duplicate all the settings (nice that is how I recall using Python with GPIB equipment and it resulted in programs that were so readable compared with any of the other way I had done it).

When multiple processes need to use the bus then a transaction management daemon for RS-422 is needed, but this is not something I am going to work on anytime soon.

Return to “Installation, Troubleshooting, and Usage”

Who is online

Users browsing this forum: No registered users and 1 guest