Commit 898a08dc authored by Gerhard Kirchmair's avatar Gerhard Kirchmair
Browse files

Reduced waiting time

parent 0b899317
......@@ -357,11 +357,11 @@ class E5080(object):
for i in tqdm_notebook(range(navg), unit="Sweep", leave=False):
time.sleep(sweep_time)
time.sleep(1)
time.sleep(0.1)
# Wait until measurement finished
while self.com('*ESR') == 0:
print('\rUnderestimated sweep time. Waiting to finish', end='', flush=True)
time.sleep(1)
time.sleep(0.1)
# Single sweep (wihtout averages)
else:
......@@ -473,7 +473,7 @@ class E5080(object):
# Wait until measurement finished
while self.com('*ESR') == 0:
print('\rUnderestimated sweep time. Waiting to finish', end='', flush=True)
time.sleep(1)
time.sleep(0.1)
# Single sweep (wihtout averages)
else:
......@@ -483,7 +483,7 @@ class E5080(object):
self.com('*CLS', '')
self.com('*OPC','')
while self.com('*ESR') == 0:
time.sleep(1)
time.sleep(0.1)
# Wait until all commands are executed
while self.com('*OPC') != 1:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment