1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-03-06 17:02:50 +01:00
This commit is contained in:
2025-04-14 16:31:30 +02:00
parent e73ed7eb19
commit 5cc4657f8a

View File

@@ -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)