EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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 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
<== Date ==> <== Thread ==>

Subject: Editing .pb files for the purpose of appending data to them
From: Windsor Tanner via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 23 Apr 2024 16:37:38 +0200
Hello Murali,

Thanks for your reply to my previous inquiry regarding changing storage intervals for individual PVs.

I've another question pertaining to editing the Protocol Buffer (.pb) files that are generated by the Archiver Appliance.

We would like to edit these files and be able to add data to them for the purpose of archiving it.

I used the Protoc compiler with the EPICSEvent.proto file at

https://urldefense.us/v3/__https://slacmshankar.github.io/epicsarchiver_docs/EPICSEvent.proto__;!!G_uCfscf7eWS!dyFziIhmsdDhIY6efdHwlY7o4fbdzIjiNxFet8oBjLeHIXBH4SK1bIVsgXQ8lzdOajQo1c4YoyhWo8MUy0l1NYVaRbm-M182$ to generate the code needed to access .pb files via Python, but the resulting EPICSEvent_pb2.py file contains

only variable definitions, without classes.

If possible, could you provide a brief example and some pointers as to how to go about editing .pb files and/or getting

data into the appliance by external means?


Thanks in advance,

Windsor


Navigate by Date:
Prev: AMI 286 Liquid Level Controller Tran, Phi Dung via Tech-talk
Next: Re: (caproto) EPICS sometimes disconnect when I moving motor Michael Davidsaver via Tech-talk
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
Navigate by Thread:
Prev: Re: AMI 286 Liquid Level Controller Tran, Phi Dung via Tech-talk
Next: Re: Editing .pb files for the purpose of appending data to them Sky Brewer via Tech-talk
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
ANJ, 26 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·