Rosemary Alles wrote:
>
> Aloha,
>
> Does EPICS 3.13 permit more than four chars for record
> field names when designing a new record? Does this require
> changing the value of FLDNAME_SZ defined in dbDefs.h?
>
> The following comment seems to indicate that more than
> four chars for a field name is *not* possible. (The comment
> is from dbDefs.h)
>
> ./dbDefs.h:/* FLDNAME_SZ must be 4 */
> ./dbDefs.h:#define FLDNAME_SZ 4 /*Field Name Size */
>
> I have been able to compile a record with field names greater
> than 4 chars but am concerned that other utilities within EPICS
> might not be compatible with this change.
Most ioc code has been changed to allow > four character field names.
There are a couple of places that still need to be changed.
I fell very uncomfortable about allowing this or longer length record
names until CA allows arbitrary length strings. The 40 character length
will cause subtle problems. For example:
If a client dynamically changes a soft link the string looks like:
n234567890123456789012345678.fnam NPP NMS
This is already > 40 characters (actually 42 characters with null
terminator). iocCore actually takes care of this problem. If either
field of record names are allowed to be larger it no longer possible to
fix the problem.
Marty Kraimer
- References:
- More than four char's in a field name Rosemary Alles
- Navigate by Date:
- Prev:
Re: Failure of assert within dbEvet.c Rozelle Wright
- Next:
time sync between iocs Marty Kraimer
- 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:
More than four char's in a field name Rosemary Alles
- Next:
Failure of assert within dbEvet.c Rosemary Alles
- 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
|