Script execution

This commit is contained in:
x03daop
2017-04-12 11:25:40 +02:00
parent 60eaa058f4
commit ee737445a3

View File

@@ -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: