Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds idle status notification to data thread #45

Closed

Conversation

ggayDiamond
Copy link

@ggayDiamond ggayDiamond commented Dec 2, 2021

I've had issues with Andor detectors getting stuck during multiple acquisition scans (no issue observed with older versions of the driver R2-4 ~2018).
This problem happens randomly, i.e not always for the same acquisition count, but on error it always displays the 'Acquire' flag ON with the detector status 'Idle'.
Investigating the problem in the driver with extra logs, I noticed a synchronization issue between the status thread and the data thread, where a new acquisition could be triggered by the scan-generating client before the detector status had been reset to idle.
To overcome this problem, I've tried to prevent the acquisition to complete before the detector status had been updated.
Would you please be able to have a look at it please and let me know your thoughts?
Many Thanks.

@ggayDiamond
Copy link
Author

Resolved with pull request #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant