Script execution

This commit is contained in:
gac-x03da
2020-04-23 17:59:00 +02:00
parent a41911ab51
commit f2603430bc

View File

@@ -58,11 +58,11 @@ try:
#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.)
print("scanning")
lscan(POSITIONERS, SENSORS, 0., 1., 400, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_down)
# print("4f ramping down")
# set_4f()
# caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 10.)
# print("scanning")
# lscan(POSITIONERS, SENSORS, 0., 1., 400, 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!
@@ -73,10 +73,10 @@ try:
# set_survey()
# lscan(POSITIONERS, SENSORS, 1., 1., 0, LATENCY, RELATIVE, before_read=before_readout, after_read = after_readout)
# print("4f ramping up")
# set_4f()
# caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 300.)
# lscan(POSITIONERS, SENSORS, 0., 1., 400, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
print("4f ramping up")
set_4f()
caput('X03DA-PC-LAKESHORE:1-TEMP_SP', 300.)
lscan(POSITIONERS, SENSORS, 0., 1., 400, LATENCY, RELATIVE, before_read=before_readout, after_read = my_after_read_up)
# print("survey")
# set_survey()