diff --git a/src/daq/caen/n1081b.py b/src/daq/caen/n1081b.py index 36b5b37..343023f 100644 --- a/src/daq/caen/n1081b.py +++ b/src/daq/caen/n1081b.py @@ -88,7 +88,7 @@ def _poll_sections(self): def _send_store_message(self, data: dict, section): keys = ["timestamp", *[f"lemo_{x['lemo']}" for x in data["counters"]]] values = [ - datetime.now().timestamp(), + int(datetime.now().timestamp() * 1000), # unix timestamp in milliseconds *[x["value"] for x in data["counters"]], ] self.message_out.put(