This commit is contained in:
x03daop
2015-11-03 16:03:38 +01:00
parent 3cef3ad6ff
commit 626835d58b
3 changed files with 8 additions and 5 deletions

View File

@@ -11,5 +11,6 @@ RELATIVE (BOOLEAN)
#set_preference(Preference.ENABLED_PLOTS, [ManipulatorPhi, ManipulatorTheta, Scienta.dataMatrix, ImageIntegrator])
set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
ascan((ManipulatorPhi, ManipulatorTheta), SENSORS, (PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = AfterReadout)
#set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
adjust_sensors()
ascan((ManipulatorPhi, ManipulatorTheta), SENSORS, (PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = after_readout)

View File

@@ -10,4 +10,5 @@ RELATIVE (BOOLEAN)
"""
#set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = AfterReadout)
adjust_sensors()
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = after_readout)

View File

@@ -6,7 +6,8 @@ SENSORS (list)
LATENCY (double)
"""
set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
adjust_sensors()
#set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
if len(VECTOR[0]) == 2:
#FIXED
@@ -15,4 +16,4 @@ else:
#SWEPT
writables = (Eph, Scienta.lowEnergy, Scienta.highEnergy)
vscan(writables, SENSORS, VECTOR, True, LATENCY,False, before_read=trig_scienta, after_read = AfterReadout)
vscan(writables, SENSORS, VECTOR, True, LATENCY,False, before_read=trig_scienta, after_read = after_readout)