Script execution
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user