Script execution

This commit is contained in:
gac-x03da
2020-04-21 19:58:51 +02:00
parent 267b0d6da9
commit fd595f0f10

View File

@@ -1,7 +1,7 @@
POSITIONERS = [dummy]
RELATIVE = False
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, EnergyDistribution, AngleDistribution, Scienta.dataMatrix, ManipulatorTempA, ManipulatorTempB, ManipulatorCoolFlow)
SENSORS = (Counts, SampleCurrent, RefCurrent, MachineCurrent, ManipulatorTempA, ManipulatorTempB, ManipulatorCoolFlow)
LATENCY = 0.0
ENDSCAN = True
@@ -37,12 +37,12 @@ def set_survey():
def set_cool_down():
temp = ManipulatorTempA.read()
flow = max(40., 10. + 0.15 * (300. - temp))
flow = min(40., 10. + 0.15 * (300. - temp))
ManipulatorCoolFlowSet.write(flow)
def set_cool_up():
temp = ManipulatorTempA.read()
flow = max(40., 0. + 0.15 * (300. - temp))
flow = min(40., 0. + 0.15 * (300. - temp))
ManipulatorCoolFlowSet.write(flow)
def my_after_read_down(rec, scan):