1 parent
1c5686b72e
commit
4706668f3e
1 file changed
-2
@@ -14,11 +14,9 @@ class PV(epics.PV):
|
||||
|
||||
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):
|
||||
|
||||
Reference in new issue
Block a user