1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Sending messages to Phoebus via Protobuf |
From: | Mihnea Romanovschi - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 3 Apr 2023 12:40:51 +0000 |
Hello! At ISIS we have another database(InfluxDB) that contains relevant information that we wish to view in the Pheobus data browser. To this extent I have written a script that converts it to protobuf packages similar to how the Epics Archiver
Appliance does it, however I am not able to display more than one datapoint pre request from the specified time range. Example of the binary I am sending over to Pheobus: \x08\x06\x12\x12t1halo::tc517:read\x18\xe7\x0fz\t\x1b\x02\x04PREC\x12\x011 ->
payload information: Scalar Double; Name: t1halo::tc517:read; Year 2023 \x08\x88\xef\xf2\x9f\x06\x10\xbb\xd1'\x19\x00\x00\x00\x00\x00\x00\x10@ ->data point:
secondsintoyear: 1677506440; nano: 649403; val: 4 \x08\xe0\xf3\xf2\x9f\x06\x10\xbb\xd1'\x19\x00\x00\x00\x00\x00\x00:@ ->
data point: secondsintoyear: 1677507040; nano: 649403; val: 26 \x08\xb8\xf8\xf2\x9f\x06\x10\xbb\xd1'\x19\x00\x00\x00\x00\x00\x000@ ->
data point: secondsintoyear: 1677508240; nano: 649403; val: 9 The payload information also contains the header PREC 1. All data points are of type Scalar Double. Thank you, Mihnea Romanovschi |