EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Dump record fields into a text file
From: Noboru Yamamoto <[email protected]>
To: [email protected]
Date: Tue, 04 May 2010 12:09:05 +0900
(10/04/30 7:24), Andrew Johnson wrote:
> On Thursday 29 April 2010 17:07:35 [email protected] wrote:
>>
>> Is there a way to dump the value of records into a text file?
>> i.e. dump the value of the PREC,EGU,DTYP,DESC fields of all records?
> 
>> From the ioc shell:
>      dbl * "PREC EGU DTYP DESC">  file.txt
> 
> You'll have to adjust that slightly (double-quote the asterisk and add a comma
> between the arguments) if you're on vxWorks.
> 
> HTH,
> 
> - Andrew

dbDumpRecord command on IOCsh can be also used, although it may give you
more data than you need.

epics>dbDumpRecord >out.db

dbStaticLib (or dbStaticLib module for Python) can be used to handle db
files.

Regards,

Noboru Yamamoto
J-PARC control group
J-PARC center, JAEA & KEK
JAPAN

References:
Dump record fields into a text file emmanuel_mayssat
Re: Dump record fields into a text file Andrew Johnson

Navigate by Date:
Prev: PCaPAC 2010 - Second call for abstracts Elder Matias
Next: VxWorks Tornado 5.5 Konstantinos Z
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Dump record fields into a text file Andrew Johnson
Next: PCaPAC 2010 - Second call for abstracts Elder Matias
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024