diff --git a/superxas_bec/devices/timepix/timepix.py b/superxas_bec/devices/timepix/timepix.py index 39ed5c9..a674467 100644 --- a/superxas_bec/devices/timepix/timepix.py +++ b/superxas_bec/devices/timepix/timepix.py @@ -233,8 +233,11 @@ class Timepix(PSIDeviceBase, TimePixControl): self.xes_spectra.put(msg_spectra, metadata={"type": "add", "max_shape": [None, troin]}) # Put TDS info msg_info = { - "tds_period": {"value": tds_period, "timestamp": time.time()}, - "tds_total_events": {"value": tds_total_events, "timestamp": time.time()}, + f"{self.xes_info}_tds_period": {"value": tds_period, "timestamp": time.time()}, + f"{self.xes_info}_tds_total_events": { + "value": tds_total_events, + "timestamp": time.time(), + }, } self.xes_info.put(msg_info)