We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A minimal example:
import time import numpy as np import qcodes from qcodes.tests.data_mocks import DataSet2D from qcodes.tests.instrument_mocks import DummyInstrument dataset = DataSet2D() A = DummyInstrument(server_name='test') sweepvalues=A.dac2[0:100:.05] #%% #%Loop in background print(qcodes.get_bg()) loop=qcodes.Loop(sweepvalues, progress_interval=.2, delay=.001).each(A.dac1) data=loop.get_data_set() # data_manager=True) print('created dataset...') #data=loop.run(background=True) data=loop.run(background=True, data_manager=True) #data=loop.run() print('sync %s' % data.sync()) print('fraction %.3f' % data.fraction_complete()) data.complete() # should wait on data to be ready for ii in range(20): data.sync() print('sync %s' % data.sync()) print('fraction %.3f' % data.fraction_complete()) time.sleep(0.2)
The text was updated successfully, but these errors were encountered:
fix: make background loops work with get_data_set. Fixes microsoft#395
77c4766
ca938df
No branches or pull requests
A minimal example:
The text was updated successfully, but these errors were encountered: