Script execution

This commit is contained in:
x03daop
2015-11-02 15:10:17 +01:00
parent f908d2f4bd
commit d04000fca6
+3 -5
View File
@@ -13,8 +13,6 @@ def AfterReadout(rec):
if rec.index ==0:
create_diag_datasets()
append_diag_datasets()
set_preference(Preference.PLOT_TYPES,{'Integration':1})
log("X")
print "X"
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = None)
set_preference(Preference.PLOT_TYPES,{'ImageIntegrator':1})
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = AfterReadout)