On 04/21/2017 12:40 PM, Andrew Johnson wrote:
> Any modern scripting language should be able to extract record names and
> field values out of a DB file if you're OK with being fairly simplistic
> about it though (i.e. you don't care about expanding macros or include
> statements, or about checking record types and field values against the
> IOC's DBD file). The syntax is described in the Application Developers
> Guide Chapter 6 (Database Definition).
Steve,
https://github.com/epicsdeb/pypdb
FYI, includes a dbd parser using PLY. As written, the 'getpvs' will
output a .po (translation) file with entries for each record name w/o
macros expansion. Might be useful as a starting point.
- References:
- dbreport or similar? Steve Kinder
- Re: dbreport or similar? Andrew Johnson
- Navigate by Date:
- Prev:
Re: dbreport or similar? Andrew Johnson
- Next:
RE: Bandwidth limits in asyn Mark Rivers
- 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: dbreport or similar? Andrew Johnson
- Next:
EPICS Archiver Appliance does not transfer PVs to "Being archived" Abdalla Ahmad
- 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
|