From 322cd39e0ae322a1ea7d86311cf71dcc3731e157 Mon Sep 17 00:00:00 2001 From: l_samenv Date: Wed, 26 Mar 2025 10:48:34 +0100 Subject: [PATCH] gas10k / mercury.HeaterUpdate: switch off loop on startup the class frappy_psi.mercury.HeaterUpdate is used for the output of a soft pid loop. set target to 0 to switch off the loop on startup. --- frappy_psi/mercury.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappy_psi/mercury.py b/frappy_psi/mercury.py index c033d82..a342a38 100644 --- a/frappy_psi/mercury.py +++ b/frappy_psi/mercury.py @@ -375,6 +375,7 @@ class HeaterOutput(HasInput, Writable): class HeaterUpdate(HeaterOutput): kind = 'HTR,TEMP' + target = 0 # switch off loop on startup def update_target(self, module, value): self.change(f'DEV::TEMP:LOOP:ENAB', False, off_on)