Skip to content

PrawnBlaster Potential Bug with Waits #107

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

Open
pmiller2022 opened this issue Aug 4, 2023 · 2 comments
Open

PrawnBlaster Potential Bug with Waits #107

pmiller2022 opened this issue Aug 4, 2023 · 2 comments

Comments

@pmiller2022
Copy link

I have been setting up a digital output addition to the prawnblaster and when I add waits, the run on blacs lasts as long as the timeout(s) for the waits, even with an external trigger and the experiment ending well before the length of the timeout(s). Would there be any way for labscript to stop the prawnblaster early if the experiment ends?

@philipstarkey
Copy link
Member

Probably need some more information to debug this. Is it with a PrawnBlaster as the primary pseudoclock? Do you know which part of the code base is hanging for that timeout length?

@dihm
Copy link
Contributor

dihm commented Aug 27, 2023

The prawn blaster is the primary (and only) pseudo clock. It was fairly easy to reproduce; set a PB with whatever intermediate device and minimal instructions and a wait with a timeout of 4 s. BLACS always waits the whole 4s before reporting the shot complete.

It's not totally clear where the hang is. If I remember correctly, the shot timing plugin reports the shot length to be the longer wait length from the start and counts it down accordingly, probably indicating something more BLACS related now that I think about it. I can check this behavior on a pulseblaster this week to help isolate a little better.

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

3 participants