Script execution

This commit is contained in:
x03daop
2017-01-27 18:30:15 +01:00
parent a944255e48
commit 9b10ade566

View File

@@ -8,13 +8,20 @@ AuxCurrent: not connected
import time
# G1200 full spectrum
STARTPOS = (100.0)
ENDPOS = (2000.0)
STEPS = 25.0
# G600 full spectrum
STARTPOS = (50.0)
ENDPOS = (1100.0)
STEPS = 10.0
LATENCY = 5.0
DWELL = 1.0
# G1200 full spectrum
#STARTPOS = (100.0)
#ENDPOS = (2000.0)
#STEPS = 25.0
#LATENCY = 5.0
#DWELL = 1.0
# carbon edge
#STARTPOS = (270.0)
#ENDPOS = (310.0)
@@ -22,6 +29,13 @@ DWELL = 1.0
#LATENCY = 1.0
#DWELL = 1.0
# G600 1x1 reference sscan_2268 (elog:119)
SampleCurrentGain.write("L, 10^7")
RefCurrentGain.write("L, 10^9")
FrontendHSize.write(1.5)
FrontendVSize.write(1.4)
ExitSlit.write(100.0)
# G1200 1x1 reference sscan_2264 (elog:114)
#SampleCurrentGain.write("L, 10^8")
#RefCurrentGain.write("L, 10^9")
@@ -30,11 +44,11 @@ DWELL = 1.0
#ExitSlit.write(100.0)
# G1200 6x10 reference sscan_2266 (elog:116)
SampleCurrentGain.write("L, 10^6")
RefCurrentGain.write("L, 10^8")
FrontendHSize.write(6.5)
FrontendVSize.write(10.4)
ExitSlit.write(100.0)
#SampleCurrentGain.write("L, 10^6")
#RefCurrentGain.write("L, 10^8")
#FrontendHSize.write(6.5)
#FrontendVSize.write(10.4)
#ExitSlit.write(100.0)
def trig():
wait_beam()