This commit is contained in:
Roman Mankowsky
2017-11-28 16:00:23 +01:00
parent a989c14bf0
commit d4e555af0d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ class ScanSimple:
return False
values_step = self.values_todo[0]
if verbose:
print('Starting scan step %d of %d'%(self.nextStep,len(self.values_todo)+len(self.values_done))
print('Starting scan step %d of %d'%(self.nextStep+1,len(self.values_todo)+len(self.values_done)))
ms = []
fina = self.get_filename(self.nextStep)
for adj,tv in zip(self.adjustables,values_step):
@@ -54,7 +54,7 @@ class ScanSimple:
acs = []
for ctr in self.counterCallers:
acq = ctr.acquire(file_name=fina,Npulses=self.pulses_per_step)
filenames.append(acq.file_names)
filenames.extend(acq.file_names)
acs.append(acq)
for ta in acs:
ta.wait()
+2 -2
View File
@@ -13,8 +13,8 @@ from threading import Thread
try:
import sys
sys.path.append('/sf/bernina/config/src/python/detector_integration_api')
sys.path.append('/sf/bernina/config/src/python/jungfrau_utils')
sys.path.insert(0,'/sf/bernina/config/src/python/detector_integration_api')
sys.path.insert(0,'/sf/bernina/config/src/python/jungfrau_utils')
from detector_integration_api import DetectorIntegrationClient
except:
print('NB: detector integration could not be imported!')