Script execution
This commit is contained in:
@@ -132,12 +132,13 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
|
||||
def setup(self):
|
||||
# print("spectrum.setup")
|
||||
|
||||
if self.scan_index != get_exec_pars().index:
|
||||
self.scan_index = get_exec_pars().index
|
||||
self.create_datasets()
|
||||
if self.region_index == 0:
|
||||
print "scan {0}".format(self.scan_index)
|
||||
|
||||
print "scan {0}, region {1}".format(self.scan_index, self.region_index)
|
||||
|
||||
edelta = 0.0
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user