Script execution
This commit is contained in:
@@ -56,14 +56,12 @@ def _startPlot(type):
|
||||
t_end = time.time() + TIME*60.0
|
||||
while running:
|
||||
try:
|
||||
if otf_start.read() == 0:
|
||||
#if (otf_start.read() == 0 or time.time() > t_end):
|
||||
#if otf_start.read() == 0:
|
||||
if (otf_start.read() == 0 or time.time() > t_end):
|
||||
break
|
||||
e = energy.read()
|
||||
if (time.time() <= t_end):
|
||||
|
||||
# pass
|
||||
#time.sleep(0.0001)'''
|
||||
|
||||
#time.sleep(0.0001)
|
||||
ID1 = ID1_En.read()
|
||||
ID2 = ID2_En.read()
|
||||
#dE1 = ID1_En.read() - energy.read()
|
||||
|
||||
Reference in New Issue
Block a user