1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-03-04 16:02:51 +01:00

fix(waveform): safeguard added to the fetching history data

This commit is contained in:
2025-10-07 11:48:46 +02:00
committed by Jan Wyzula
parent e59f27a22d
commit 540cfc37be

View File

@@ -1039,7 +1039,9 @@ class Waveform(PlotBase):
device = curve.config.signal.name
entry = curve.config.signal.entry
all_devices_used = scan_item._msg.stored_data_info
all_devices_used = getattr(
getattr(scan_item, "_msg", None), "stored_data_info", None
) or getattr(scan_item, "stored_data_info", None)
if all_devices_used is None:
curve.remove()
raise ValueError(