Script execution

This commit is contained in:
gac-x03da
2018-08-20 12:22:52 +02:00
parent fd6ea2f126
commit 09d5986d4e

View File

@@ -8,8 +8,10 @@ AuxCurrent: not connected
import time
RANGE = "C K-edge"
BEAM = "G600 1x1"
RANGE = "G1200 full"
#RANGE = "G600 full"
#RANGE = "C K-edge"
BEAM = "G1200 1x1"
if RANGE == "G600 full":
# G600 full spectrum
@@ -103,7 +105,7 @@ def trig():
#RefCurrentAveraging.write(value)
POSITIONERS = (Eph)
SENSORS = (Keithley1, Keithley2, SampleCurrent, RefCurrent, MachineCurrent)
SENSORS = (SampleCurrent, RefCurrent, MachineCurrent)
time.sleep(5.)
lscan(POSITIONERS, SENSORS, STARTPOS, ENDPOS, STEPS, LATENCY, before_read=before_readout, after_read=after_readout)