mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-06 17:02:50 +01:00
wip
This commit is contained in:
@@ -1164,6 +1164,9 @@ class Waveform(PlotBase):
|
||||
curve(Curve): The curve to set up.
|
||||
"""
|
||||
name = curve.config.signal.name
|
||||
logger.info(
|
||||
f"subscriptions before removal: {self.bec_dispatcher.client.connector._stream_topics_subscription.values()}"
|
||||
)
|
||||
self.bec_dispatcher.disconnect_slot(
|
||||
self.on_async_readback, MessageEndpoints.device_async_readback(self.old_scan_id, name)
|
||||
)
|
||||
@@ -1177,6 +1180,9 @@ class Waveform(PlotBase):
|
||||
MessageEndpoints.device_async_readback(self.scan_id, name),
|
||||
from_start=True,
|
||||
)
|
||||
logger.info(
|
||||
f"remaining subscriptions: {self.bec_dispatcher.client.connector._stream_topics_subscription.values()}"
|
||||
)
|
||||
logger.info(f"Setup async curve {name}")
|
||||
|
||||
@SafeSlot(dict, dict)
|
||||
|
||||
Reference in New Issue
Block a user