micro-manager / pycro-manager

Python control of micro-manager for customized data acquisition
https://pycro-manager.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
165 stars 52 forks source link

Interrupting acquisition while running #713

Closed jacopoabramo closed 4 months ago

jacopoabramo commented 1 year ago

Greetings,

I'm currently progressing in integrating pycromanager as a backend into ImSwitch. Currently ImSwitch allows a user to toggle a recording on/off in case the application gets stuck due to some issues like memory or an unresponding device. I would like to know if it is possible to abort a running acquisition using one of the notifications available in the pycromanager framework, or if it's doable at all.

Thanks!

henrypinkard commented 1 year ago

You should be able to call acquisition.abort()