EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  <19981999  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  <19981999  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: RE: EPICS r3.13 field DESC length
From: Jeff Hill <[email protected]>
To: "'William Lupton'" <[email protected]>, "[email protected]" <[email protected]>
Cc: "EPICS-tech-talk (E-mail)" <[email protected]>
Date: Fri, 9 Jan 1998 13:41:47 -0700
> Finally, I can't help following Andy's lead and asking why there is no
> record field that indicates the record type. I believe that this could
> often be useful. What about RTYP?

We should not immediately assume that adding a field name to the database that allows
clients to query the record type will automatically  increase the per record memory 
consumption cost. Since this information is known to dbCommon, and does not need
to be stored in the record we could have a field name that has no associated storage
(or at least not per-record instance storage).

Still, a better way to solve this problem might be to add a new CA data type to db_access.h
which allows the record type to be queried as a PV attribute (a string data type
since the list of all record types isn't known at compile time).

Jeff

Navigate by Date:
Prev: Re: SNC bug and question William Lupton
Next: Re: EPICS r3.13 fields RTYP/VERS Tim Mooney
Index: 1994  1995  1996  1997  <19981999  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: EPICS r3.13 fields RTYP/VERS Ralph Lange
Next: Re: proposed RTYP field Pete Jemian
Index: 1994  1995  1996  1997  <19981999  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