Closedown
This commit is contained in:
@@ -363,7 +363,6 @@ def adjust_sensors():
|
||||
set_exec_pars(accumulate = False)
|
||||
#if sample_scienta:
|
||||
# init_scienta()
|
||||
set_exec_pars(compression=True, shuffle=True)
|
||||
|
||||
#Device aliases for data files
|
||||
set_device_alias(Scienta.dataMatrix, "ScientaImage")
|
||||
|
||||
@@ -8,11 +8,12 @@ set keithleys manuall to free run!
|
||||
|
||||
POSITIONERS = (ExitSlitY)
|
||||
SENSORS = (SampleCurrent,RefCurrent, MachineCurrent)
|
||||
STARTPOS = (1.0)
|
||||
STARTPOS = (0.5)
|
||||
ENDPOS = (-0.5)
|
||||
STEPS = -0.01
|
||||
STEPS = -0.001
|
||||
LATENCY = 0.1
|
||||
DWELL = 1.0
|
||||
DWELL = 0.1
|
||||
TOTAL_TIME = 50
|
||||
|
||||
def trig():
|
||||
wait_beam()
|
||||
@@ -23,6 +24,6 @@ def trig():
|
||||
#caput(KEI_RMU + "DOFETCH", 1)
|
||||
|
||||
set_adc_averaging(dwelltime=DWELL)
|
||||
#adjust_sensors()
|
||||
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
|
||||
#set_exec_pars(compression=True, shuffle=True)
|
||||
#lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=trig, after_read=after_readout)
|
||||
cscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, time=TOTAL_TIME, before_read=trig, after_read=after_readout)
|
||||
|
||||
Reference in New Issue
Block a user