From 8cd5db90f908bdcf41dba8707e176c5370796ef9 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Wed, 22 Apr 2020 11:59:43 +0200 Subject: [PATCH] Script execution --- script/users/monney/TemperatureRamp.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script/users/monney/TemperatureRamp.py b/script/users/monney/TemperatureRamp.py index b68fb565..c2392f1e 100644 --- a/script/users/monney/TemperatureRamp.py +++ b/script/users/monney/TemperatureRamp.py @@ -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()