-
I am having issues reloading the most recent scans and scan parameters after closing and restarting qudi, even after saving the scans. It seems the scan data and parameters that repopulate the GUI are not being stored in the same directory where the scan data is being saved. Anyone experience similar issues and/or know of a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
The scan history is saved as "Status Variable". This is completely independent of the data that you save actively. If the scan history is not properly recovered after a qudi restart, there should be an error in the logs on module activation. |
Beta Was this translation helpful? Give feedback.
-
The scan settings are recovered from the ScanData object. I understand that this can be a bit confusing. At this time, I do not see an easy way to make things more intuitive, though. -edit- |
Beta Was this translation helpful? Give feedback.
The intended way to close qudi is
a) in the manager: File -> Quit Qudi
b) from the tray icon: Right click -> Quit
If this is not resulting in a "Shutdown complete!" message, your IDE/terminal might not be setup correctly. What are you using there?
Are you saying the scan history is only forgotten if you kill qudi in the terminal? Then, qudi has no time to dump to the disk, and the behavior would be expected.
If you don't see scans in AppData/status-... on proper shutdown, one would need to dig into the on_deactivate function of the ScanningDataLogic.