Files
x09lb/script/test/Test2D.py
2022-10-03 11:31:02 +02:00

16 lines
416 B
Python

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()