Using digital or analog IO pins alongside web app
Posted: Mon Aug 31, 2020 4:31 pm
Hello,
I've been working on setting up a Red Pitaya for remote access undergraduate physics labs, centered around gamma ray spectroscopy. I've got a setup working using sefffal's wrapper for the MCA program, and I've got a python script set up to control a motor to move samples in the lab. The issue is, the mercury overlay hijacks the FPGA, which causes a crash if the MCA app isn't closed (just as the documentation warms). Is there a good alternate way to access the GPIO pins for this? Or, as an alternative, can the analog pins be used from python without altering the state of the FPGA? It would be a pain to work with them but I could manage if needed.
Any help would be appreciated.
I've been working on setting up a Red Pitaya for remote access undergraduate physics labs, centered around gamma ray spectroscopy. I've got a setup working using sefffal's wrapper for the MCA program, and I've got a python script set up to control a motor to move samples in the lab. The issue is, the mercury overlay hijacks the FPGA, which causes a crash if the MCA app isn't closed (just as the documentation warms). Is there a good alternate way to access the GPIO pins for this? Or, as an alternative, can the analog pins be used from python without altering the state of the FPGA? It would be a pain to work with them but I could manage if needed.
Any help would be appreciated.