From c55bdaf5c4bfb48a4c6276b7b24c4f298f9b71d2 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 8 Aug 2025 01:24:57 +0200 Subject: [PATCH] Update slic/utils/pv.py --- slic/utils/pv.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slic/utils/pv.py b/slic/utils/pv.py index 82aefd301..823d88bbf 100644 --- a/slic/utils/pv.py +++ b/slic/utils/pv.py @@ -9,11 +9,13 @@ import time class PV(epics.PV): def put(self, value, *args, show_progress=False, **kwargs): + + ###### AVANNNNNT + kwargs["wait"] = True # enforce wait to show progress + if not show_progress: return super().put(value, *args, **kwargs) - kwargs["wait"] = True # enforce wait to show progress - start = self.get() stop = value