Script execution
This commit is contained in:
1 parent
673a27b192
commit
1cf46385e0
1 file changed
+2
-2
@@ -142,7 +142,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
self.scan_index = get_exec_pars().index
|
||||
self.create_datasets()
|
||||
|
||||
print "scan {0}, region {1}".format(self.scan_index, self.region_index)
|
||||
print "scan {0}, region {1} ({2})".format(self.scan_index, self.region_index, self.region['name'])
|
||||
|
||||
edelta = 0.0
|
||||
try:
|
||||
@@ -203,7 +203,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
global current_region_index
|
||||
current_region_index = self.region_index
|
||||
self.setup()
|
||||
print("Acquiring region {0}.".format(self.region['name']))
|
||||
# print("Acquiring region {0}.".format(self.region['name']))
|
||||
trig_scienta()
|
||||
time.sleep(0.1)
|
||||
sp = Scienta.getSpectrum().read()
|
||||
|
||||
Reference in new issue
Block a user