Skip to content

TekScope bug fix #118

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

Merged
merged 2 commits into from
Jun 25, 2024
Merged

TekScope bug fix #118

merged 2 commits into from
Jun 25, 2024

Conversation

ispielma
Copy link
Contributor

The TekScope device had a bug where it was calling hdf_file.create_group('/data/traces') in transition to manual. This is a problem because if you have two scopes this code fails the second time. Instead (and like the camera devices) I changed this to grp = hdf_file.require_group('/data/traces'). Trivial.

Also in transition to buffered the code self.scope.dev.timeout = 1000 * self.scope_params.get('timeout', 5) appeared while the h5 file was open (which was not needed). Moved this after closing the h5 file to slightly reduce the time that the file was locked.

spielman and others added 2 commits June 25, 2024 09:29
…ock is blocking) and changed create_group to require_group to allow more than one process to work.
@philipstarkey philipstarkey changed the title TekScope bug fixe TekScope bug fix Jun 25, 2024
@philipstarkey philipstarkey merged commit a025ccd into labscript-suite:master Jun 25, 2024
1 check passed
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.

2 participants