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

trigger modes do not work for Balor (maybe only Zyla?) #3

Open
pjb671 opened this issue Apr 22, 2020 · 4 comments
Open

trigger modes do not work for Balor (maybe only Zyla?) #3

pjb671 opened this issue Apr 22, 2020 · 4 comments

Comments

@pjb671
Copy link

pjb671 commented Apr 22, 2020

The enumerated trigger modes do not apply for the Andor Balor
https://github.com/esrf-bliss/Lima-camera-andor3/blob/master/include/Andor3Camera.h#L73

enum A3_TriggerMode { Internal = 0, ExternalLevelTransition = 1, ExternalStart = 2, ExternalExposure = 3, Software = 4, Advanced = 5, External = 6 };

These work for the Zyla (for example) but for the Balor the options in the SDK would be

enum A3_TriggerMode { Internal = 0, Software = 1, External = 2, ExternalStart = 3, ExternalExposure = 4 }

As it is, if one selects EXTERNAL_TRIGGER_MULTI in Lima for the Balor, the check here https://github.com/esrf-bliss/Lima-camera-andor3/blob/master/src/Andor3Camera.cpp#L1411 is failed since the SDK expects 2 not 6.

@laurent-claustre
Copy link

Hi,
yes, we knowm with new cameras like Balor or Marana, the enums are completely screwed up.
We are working on this to refactor the code using the SDK introspection functions to be less depending on the camera models. We are now working using the SDK version 3.14.
Thanks for your feedback.

@pjb671
Copy link
Author

pjb671 commented Apr 23, 2020

Hi,
Thanks for your reply, its Paul at MAX IV by the way, I only just noticed my very old alias name here. We are not blocked here because we hacked it locally as a work around for the beamline, but its not a proper fix as the Balor only has modes 0-4, ExternalLevelTransition and Advanced do not apply but are still defined. Do you have an estimate when the refactoring might be done?
Best regards,
Paul

@laurent-claustre
Copy link

Hi Paul,
we're working on the Marana model and it seems some beamlines will be equipped soon with a Balor one as well. So it becomes urgent to us to improve the code. Work can be done before summer.

@laurent-claustre
Copy link

@manupapillon

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

No branches or pull requests

2 participants