How to get the ADC to run continuosly.
Posted: Thu Feb 01, 2024 2:46 pm
Hi all,
I am coding in python on the Jupyter Lab and was wondering if there was any way to have the ADC run continuously even after a trigger happens. What I have coded currently is a loop that collects data and then the program is triggered. Then, I must apply a reset and then a start command. The reset and start portion of the code is slowing the program down by 8 microseconds and I need it to be faster. Is there any way to code it so that the ADC continues to run after the trigger so that I don't need that section of code? Someone suggested using rp_AcqSetArmKeep(<enable>) but that requires the use of the new rp library, and our code is currently using the mercury library. Is there an equivalent to the rp_AcqSetArmKeep(<enable>) in mercury?
Thanks for any help that can be offered!
I am coding in python on the Jupyter Lab and was wondering if there was any way to have the ADC run continuously even after a trigger happens. What I have coded currently is a loop that collects data and then the program is triggered. Then, I must apply a reset and then a start command. The reset and start portion of the code is slowing the program down by 8 microseconds and I need it to be faster. Is there any way to code it so that the ADC continues to run after the trigger so that I don't need that section of code? Someone suggested using rp_AcqSetArmKeep(<enable>) but that requires the use of the new rp library, and our code is currently using the mercury library. Is there an equivalent to the rp_AcqSetArmKeep(<enable>) in mercury?
Thanks for any help that can be offered!