diff --git a/cfg/main/tfa_cfg.py b/cfg/main/tfa_cfg.py new file mode 100644 index 00000000..236d6c70 --- /dev/null +++ b/cfg/main/tfa_cfg.py @@ -0,0 +1,20 @@ +Node('TFA10.psi.ch', + 'thermofisher water bath', + 'tcp://5000', + ) + +Mod('io', + 'frappy_psi.thermofisher.ThermFishIO', + 'connection for ThermoFisher A10', + uri='tcp://ldm-fi-ts:3002', + ) + +Mod('T', + 'frappy_psi.thermofisher.TemperatureLoopA10', + 'holder temperature', + io='io', + meaning=['temperature', 20], + target=Param(max=100), + tolerance=0.5, + settling_time=20, + ) diff --git a/frappy_psi/thermofisher.py b/frappy_psi/thermofisher.py index 1d098b38..7d14af3b 100644 --- a/frappy_psi/thermofisher.py +++ b/frappy_psi/thermofisher.py @@ -149,8 +149,8 @@ class TemperatureLoopA10(HasConvergence, HasIO, Drivable): def initialReads(self): super().initialReads() - self.target_max = min(self.target_max, self.get_par('RHTF')) - self.target_min = max(self.target_min, self.get_par('RLTF')) + self.target_max = min(self.target_max, self.get_par('HTF')) + self.target_min = max(self.target_min, self.get_par('LTF')) def switch_control_off(self, reason=None): self._off_reason = reason