From 6ae57958c03ec369996bcb1eae7a634e1dd973be Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 4 Aug 2025 14:16:47 +0200 Subject: [PATCH] Update slic/utils/pv.py --- slic/utils/pv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slic/utils/pv.py b/slic/utils/pv.py index 85e44ff7d..950cadd09 100644 --- a/slic/utils/pv.py +++ b/slic/utils/pv.py @@ -10,13 +10,15 @@ class PV(epics.PV): if not show_progress: return super().put(value, *args, **kwargs) - kwargs["wait"] = True # enforce wait to show progress + kwargs["wait"] = True # enforce wait to show progress start = self.get() stop = value + print(f"[DEBUG] PUT start = {start}, stop = {stop}") with RangeBar(start, stop) as rbar: def on_change(value=None, **kw): + print(f"[DEBUG] Callback called with value = {value}") rbar.show(value) with self.use_callback(on_change):