Script execution
This commit is contained in:
@@ -8,8 +8,8 @@ set analyser parameters separately!
|
||||
import math
|
||||
|
||||
# adjust the following parameters
|
||||
DISTANCE = 0.1
|
||||
STEPS = 20
|
||||
DISTANCE = 0.2
|
||||
STEPS = 0.005
|
||||
LATENCY = 0.5
|
||||
ENDSCAN = False
|
||||
|
||||
@@ -24,8 +24,8 @@ set_adc_averaging()
|
||||
|
||||
def trig_sensors():
|
||||
wait_beam()
|
||||
trig_scienta()
|
||||
caput("X03DA-OP-10ADC:TRG.PROC", 1)
|
||||
trig_scienta()
|
||||
|
||||
try:
|
||||
lscan(MOTORS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, RELATIVE, before_read=trig_sensors, after_read = after_readout)
|
||||
|
||||
Reference in New Issue
Block a user