diff --git a/script/HystScanStep.py b/script/HystScanStep.py index ab0394e..34d2fee 100644 --- a/script/HystScanStep.py +++ b/script/HystScanStep.py @@ -20,7 +20,7 @@ if MODE is not None: if OFFSET is not None: pol_offset.write(OFFSET) #caput('X07MA-ID:ENERGY-OFFS', OFFSET) -#pol_done.waitValue("DONE", -1) +pol_done.waitValue("DONE", -1) setpoints = [] for r in RANGES: @@ -31,7 +31,7 @@ set_preference(Preference.ENABLED_PLOTS, ['field', 'tey_norm', 'trans_norm']) set_preference(Preference.PLOT_TYPES, {'tey_norm':1, 'trans_norm':1}) scan = ManualScan(['field', 'Energy'], ['TEY', 'I0', 'trans', 'polarization', 'polAngle', 'temperature', 'RingCurrent', 'fieldAnalogX', 'tey_norm', 'trans_norm'] , [min(setpoints), min(ENERGIES)], [max(setpoints), max(ENERGIES)], [len(setpoints)-1, len(ENERGIES)-1]) -scan.start() +scan.start()print #Dimension 1