You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've haven't had good experience trying to call cleanup() independently. I most often run into problems when trying to quit an acquisition with Ctr+C.
The trick is that cleanup() needs to be called exactly once. It is always called when python exists normally, so the script will hang if you also try to call it once before. But apparently atexit registered functions are not called if the program does not exit normally, like with Ctr+C. I found this topic but I haven't been able to get it to work yet - I need to close my terminal if I want to quit mid acquisition.
No description provided.
The text was updated successfully, but these errors were encountered: