From e89ad185bcef1b005f2b8a261f0412ba9511194e Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 8 Aug 2025 20:20:54 +0200 Subject: [PATCH] Update slic/utils/pv.py --- slic/utils/pv.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/slic/utils/pv.py b/slic/utils/pv.py index 2a28b40a1..b405cdfa7 100644 --- a/slic/utils/pv.py +++ b/slic/utils/pv.py @@ -9,17 +9,14 @@ import time class PV(epics.PV): def put(self, value, *args, show_progress=False, **kwargs): - - ###### AVANNNNNT - kwargs["wait"] = True # enforce wait to show progress - #kwargs["timeout"] = 2.0 # Explicit timeout if not show_progress: # Simple put with verification result = super().put(value, *args, **kwargs) - time.sleep(0.1) # Small safety delay return result + kwargs["wait"] = True + start = self.get() stop = value