Script execution

This commit is contained in:
gac-x03da
2020-04-22 11:59:43 +02:00
parent a0a3dc3d13
commit 8cd5db90f9

View File

@@ -54,14 +54,14 @@ def my_after_read_up(rec, scan):
set_cool_up()
try:
print("survey")
set_survey()
lscan(POSITIONERS, SENSORS, 1., 1., 0, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout)
#print("survey")
#set_survey()
#lscan(POSITIONERS, SENSORS, 1., 1., 0, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout)
print("4f ramping down")
set_4f()
caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 10.)
lscan(POSITIONERS, SENSORS, 300., 10., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_down)
#caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 10.)
lscan(POSITIONERS, SENSORS, 3., 0., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_down)
# print("wait for 10 K")
# the timeout is dangerous, it may cause an exception!
@@ -75,7 +75,7 @@ try:
print("4f ramping up")
set_4f()
caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 300.)
lscan(POSITIONERS, SENSORS, 10., 300., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
lscan(POSITIONERS, SENSORS, 0., 3., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
print("survey")
set_survey()