Closedown

This commit is contained in:
x03daop
2015-11-02 14:53:13 +01:00
parent cd64bc9345
commit f908d2f4bd

View File

@@ -10,8 +10,11 @@ RELATIVE (BOOLEAN)
"""
def AfterReadout(rec):
if rec.index ==0:
create_diag_datasets()
append_diag_datasets()
set_preference(Preference.PLOT_TYPES,{'Integration':1});
create_diag_datasets()
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = AfterReadout)
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)