diff --git a/script/ManipulatorScan.py b/script/ManipulatorScan.py index 5f380629..5da58f41 100644 --- a/script/ManipulatorScan.py +++ b/script/ManipulatorScan.py @@ -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) \ No newline at end of file +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) \ No newline at end of file