EPICS Home

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: "Mooney, Tim M." <[email protected]>
To: Michael Davidsaver <[email protected]>, Jeong Han Lee <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 3 May 2017 16:31:21 +0000
Oops.  I mistook DBF_NO_ACCESS, which autosave doesn't use, as DBF_NOACCESS, which it does use.

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


________________________________________
From: Michael Davidsaver [[email protected]]
Sent: Wednesday, May 03, 2017 10:52 AM
To: Mooney, Tim M.; Jeong Han Lee
Cc: [email protected]
Subject: Re: Database Field type in db_access.h

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


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.
Re: Database Field type in db_access.h Michael Davidsaver

Navigate by Date:
Prev: Re: Database Field type in db_access.h Michael Davidsaver
Next: Re: Database Field type in db_access.h Andrew Johnson
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 Michael Davidsaver
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