0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix(waveform): bug in setup async curves for plotting data from wrong scan_id

This commit is contained in:
2025-04-15 09:27:42 +02:00
committed by perl_d
parent eb0b79a303
commit f7538c4e60

View File

@ -1172,6 +1172,7 @@ class Waveform(PlotBase):
except KeyError:
logger.warning(f"Curve {name} not found in plot item.")
pass
QApplication.processEvents() # Process events to avoid async callbacks scheduled but executed in the wrong order
self.bec_dispatcher.connect_slot(
self.on_async_readback,
MessageEndpoints.device_async_readback(self.scan_id, name),