Script execution
This commit is contained in:
16
script/test/Test2D.py
Normal file
16
script/test/Test2D.py
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
MOTORS = [dummy_x, dummy_y]
|
||||
SENSORS = [current]
|
||||
RANGE_X = [0.0,2.0]
|
||||
RANGE_Y = [0.0,1.0]
|
||||
STEPS = [5, 10]
|
||||
LATENCY = 0.1
|
||||
RELATIVE = False
|
||||
ZIGZAG = True
|
||||
|
||||
try:
|
||||
ascan((MOTORS[0], MOTORS[1]), SENSORS, (RANGE_X[0], RANGE_Y[0]), (RANGE_X[1], RANGE_Y[1]), STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, \
|
||||
before_read=before_readout, after_read = after_readout, compression = True)
|
||||
finally:
|
||||
after_scan()
|
||||
|
||||
Reference in New Issue
Block a user