Script execution

This commit is contained in:
gac-x03da
2020-04-22 12:22:21 +02:00
parent d412410081
commit 52a836094a
+2 -2
View File
@@ -62,7 +62,7 @@ try:
set_4f()
#caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 10.)
print("scanning")
lscan(POSITIONERS, SENSORS, 0., 1., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_down)
lscan(POSITIONERS, SENSORS, 0., 1., 180, 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!
@@ -76,7 +76,7 @@ try:
print("4f ramping up")
set_4f()
caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 300.)
lscan(POSITIONERS, SENSORS, 0., 1., 150, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
lscan(POSITIONERS, SENSORS, 0., 1., 180, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
print("survey")
set_survey()