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

ValueError: invalid literal for int() with base 10: b'Internal' #485

Closed
prjemian opened this issue Jan 19, 2021 · 0 comments · Fixed by #488
Closed

ValueError: invalid literal for int() with base 10: b'Internal' #485

prjemian opened this issue Jan 19, 2021 · 0 comments · Fixed by #488
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

apstools.devices.AD_prime_plugin2() failed with this exception. Turns out that not all cameras have a trigger mode with value "Internal" (the Dexela, for example).

In [13]: dexela_det.cam.trigger_mode.enum_strs
Out[13]: 
('Int. Free Run',
 'Int. Fixed Rate',
 'Int. Software',
 'Ext. Edge Single',
 'Ext. Edge Multi',
 'Ext. Bulb')

Priming should use a safe trigger mode. Can we assume that the first one (0) will be that safe mode? Set by number instead.

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

Successfully merging a pull request may close this issue.

1 participant