Script execution
This commit is contained in:
@@ -37,6 +37,10 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
create_dataset(self.iterations_dataset_name, 'd')
|
||||
|
||||
def setup(self):
|
||||
print get_exec_pars().index
|
||||
print get_exec_pars().group
|
||||
print get_exec_pars().scanPath
|
||||
|
||||
ephot = Eph.read()
|
||||
try:
|
||||
if self.region['cis']:
|
||||
@@ -142,7 +146,7 @@ def do_scan(motors, positions, regions, latency):
|
||||
|
||||
|
||||
try:
|
||||
set_preference(Preference.PLOT_TYPES, {'ScientaSpectrum1':1})
|
||||
#set_preference(Preference.PLOT_TYPES, {'ScientaSpectrum1':1})
|
||||
#task = fork(plot_cur_spectrum)
|
||||
do_scan(MOTORS, POSITIONS, REGIONS, LATENCY)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user