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

background measurement hangs when show_progress is set #328

Closed
peendebak opened this issue Sep 11, 2016 · 4 comments
Closed

background measurement hangs when show_progress is set #328

peendebak opened this issue Sep 11, 2016 · 4 comments

Comments

@peendebak
Copy link
Contributor

The background measurement process is not closed properly when show_progress is set.

xx=qcodes.Loop(stepvalues, progress_interval=2).loop(sweepvalues).each(keithley1.amplitude).run(background=True)
# wait for small amount of time
m=qcodes.get_bg(); print(m)

I can only reproduce this on windows with real instruments connected, I will not investigate this further The new multiprocessing architecture will probably fix this, or give insights into what is happening.

@giulioungaretti
Copy link
Contributor

Possibly related to #175 .
Also what is hanging exactly ? this m=qcodes.get_bg(); ?

@peendebak
Copy link
Contributor Author

peendebak commented Sep 12, 2016

@giulioungaretti The m=qcodes.get_bg() returns a Measurement, which means the background job is still running. When I insert a matplotlib.pyplot.close('all') at the end of the qcodes.Loop the issue seems to go away, but I have no idea why.

@giulioungaretti
Copy link
Contributor

oh, what a clusterfuck, anyway. wontfix is the right label :D

@peendebak
Copy link
Contributor Author

Closing the issue since multiprocessing was removed.

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

No branches or pull requests

2 participants