1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-03-05 00:12:49 +01:00
This commit is contained in:
2025-04-15 22:32:14 +02:00
parent bfaf696904
commit e1352e6dc7

View File

@@ -1215,6 +1215,7 @@ class Waveform(PlotBase):
if scan_id != self.scan_id:
logger.warning("Scan ID mismatch, ignoring async readback.")
return
logger.info(f"Async readback for scan ID {scan_id}.")
instruction = metadata.get("async_update", {}).get("type")
if instruction not in ["add", "add_slice", "replace"]:
logger.warning(f"Invalid async update instruction: {instruction}")