Script execution

This commit is contained in:
gac-x03da
2020-04-21 19:52:11 +02:00
parent 2ab28c48bb
commit f771ffb802

View File

@@ -53,21 +53,28 @@ def my_after_read_up(rec, scan):
set_cool_up()
try:
print("survey")
set_survey()
lscan(POSITIONERS, SENSORS, 3., 3., 1, 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, 3., 1., 3, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_down)
ManipulatorTempA.waitValueInRange(10., 5., 60)
print("wait for 10 K")
ManipulatorTempA.waitValueInRange(10., 1., 60)
print("survey")
set_survey()
lscan(POSITIONERS, SENSORS, 1., 1., 1, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout)
print("4f ramping up")
set_4f()
caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 100.)
lscan(POSITIONERS, SENSORS, 1., 3., 3, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
print("survey")
set_survey()
lscan(POSITIONERS, SENSORS, 1., 1., 1, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout)