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