Device class to control GPIO of RaspberryPI
|
|
---|---|
Hi, We are looking for a device class to control GPIO of RaspberryPI. Do you know if it exists? In the catalogue there is one for controlling PCO camera amplification [1] but we are looking for a more generic one. We plan to implement the DO time pattern generator. Thanks for any feedback! [1] http://www.tango-controls.org/developers/dsc/ds/249 Cheers, Zibi |
|
|
---|---|
Hi Zibi, Jens, a new team member started his Tango training with a Raspberry PI device controlling the GPIO. It may or not be generic but I can ask him tomorrow to upload to github. Cheers, Vincent
Vincent Hardion
Control System MAX IV Laboratory |
|
|
---|---|
Thanks Vincent! Looking forward to try your code! |
|
|
---|---|
Jens has pushed for a quick internal review and should push soon to gitlab. The system is composed of a daemon running on the pi and a Tango device connected to this daemon.
Vincent Hardion
Control System MAX IV Laboratory |
|
|
---|---|
Hi Zibi, Yes, the device has been reviewed and I will refactor before pushing to GitHub. Hopefully it will be done at the end of this week, at latest. Sorry for the delay, Cheers, Jens |
|
|
---|---|
Hi Zibi, Here is the link to the repo on GitHub: https://github.com/MaxIV-KitsControls/dev-maxiv-raspberry_pi . It currently supports 5 pins, and we are in progress with merging with a separate project for the camera stream. All the best, Jens |
|
|
---|---|
Hi Jens, that is great to see. Could you add it to the Classes Catalogue: http://www.tango-controls.org/developers/dsc/ This way it can be found more easily. Thanks Andy |
|
|
---|---|
Thank you Jens! We will give it a try during this week and come back to you with the feedback on Github. +1 for the idea of adding it to the catalogue:) |
|
|
---|---|
Hi Zibi and Andy, Thanks! Absolutely, I will try to add it to the classes catalogue today. There is still some refactoring left to do, and we are also still in the process of merging with the camera stream. I will keep you updated, All the best, Cheers, Jens |
|
|
---|---|
Hi! I added to the classes catalogue today. I did not know how to do it with the .XMI class info source, so I entered properties/attributes/commands manually. Yet, it looked a bit messy having it all in the Class Description heading, how do I do it with the XMI? Thanks, Jens |