EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Database Field type in db_access.h
From: Michael Davidsaver <[email protected]>
To: "Mooney, Tim M." <[email protected]>, Jeong Han Lee <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 3 May 2017 11:52:51 -0400
On 05/03/2017 11:45 AM, Mooney, Tim M. wrote:
> re...
> 
>> What I meant to say is that I think that DBF_NO_ACCESS could be removed
>> as it isn't useful.  I suspect that it exists as a historical echo of
>> DBF_NOACCESS in dbAccess.h, which signifies a DB field where the storage
>> can't be directly converted to one of the other DBF_* types (eg TIME in
>> dbCommon.dbd or VAL in waveformRecord.dbd).
> 
> It's useful for autosave.  I need to know if a field whose value is to be restored
> isn't ready to be written to yet (before record init), because its field type hasn't
> been set, or its array space hasn't been allocated. 

I was only referring to the DBF_NO_ACCESS macro, which autosave doesn't
use explicitly.

https://github.com/epics-modules/autosave/search?utf8=%E2%9C%93&q=DBF_NO_ACCESS&type=

I suspect that you mean usage of VALID_DB_REQ() which is as it should be.

https://github.com/epics-modules/autosave/blob/591ddcf7cdea69d5e6ac32728c6387a3fd7b6ada/asApp/src/dbrestore.c#L348


Replies:
RE: Database Field type in db_access.h Mooney, Tim M.
References:
Database Field type in db_access.h Jeong Han Lee
Re: Database Field type in db_access.h Michael Davidsaver
Re: Database Field type in db_access.h Jeong Han Lee
Re: Database Field type in db_access.h Michael Davidsaver
RE: Database Field type in db_access.h Mooney, Tim M.

Navigate by Date:
Prev: RE: Database Field type in db_access.h Mooney, Tim M.
Next: Re: Database Field type in db_access.h Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Database Field type in db_access.h Mooney, Tim M.
Next: RE: Database Field type in db_access.h Mooney, Tim M.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·