Closedown

This commit is contained in:
gac-x03da
2018-08-20 15:22:01 +02:00
parent 99d0879b88
commit dc3bc585fe
3 changed files with 32 additions and 12 deletions

View File

@@ -8,9 +8,9 @@ AuxCurrent: not connected
import time
RANGE = "G1200 full"
#RANGE = "G1200 full"
#RANGE = "G600 full"
#RANGE = "C K-edge"
RANGE = "C K-edge"
BEAM = "G1200 1x1"
#BEAM = "G1200 6x10"
@@ -36,8 +36,6 @@ elif RANGE == "C K-edge":
LATENCY = 1.0
DWELL = 1.0
prepare_keithleys(DWELL, False)
if BEAM == "G600 1x1":
# G600 1x1 reference sscan_2268 (elog:119)
#SampleCurrentGain.write("L, 10^7")
@@ -92,6 +90,7 @@ else:
POSITIONERS = (Eph)
SENSORS = (SampleCurrent, RefCurrent, MachineCurrent)
set_adc_averaging()
time.sleep(5.)
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=before_readout, after_read=after_readout)