Closedown

This commit is contained in:
gac-x03da
2019-05-01 10:52:28 +02:00
parent f0aefe7a48
commit b2373fbcf4
2 changed files with 7 additions and 7 deletions

View File

@@ -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")

View File

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