20 lines
424 B
Python
20 lines
424 B
Python
"""
|
|
Arguments:
|
|
|
|
MOTOR (device)
|
|
SENSORS (list)
|
|
RANGE (tuple (min, max))
|
|
STEPS (int or tuple)
|
|
LATENCY (double)
|
|
RELATIVE (BOOLEAN)
|
|
"""
|
|
|
|
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) |