RE: Hardware configuration/initialization records
I'm not sure that there is a well thought out (or described) goal here.
Suppose in the worst case that there is a system in which there are
configuration options down to the signal level. I for one would not want
to have a hw configuration record for every I/O point -- especially if
it inherits from dbCommon! That type of config information should be put
into the AI or AO etc records, in a parm field or elsewhere in the
INP field.
Perhaps allowing the INP field to be parsed according to a description in
a .ascii file for that DTYP is a reasonable idea. This would require the
least amount of memory, and support smart configuration tools. It would
require a function to pack and unpack the structure by element name.
Proof of principle: cdevData can pack and unpack any data type by element
name, effectively holding an arbitrary "structure". If CA were extended
to transport such a data object, then the "subfields" would be visible
to any (enhanced) tool. Further, this extension of CA would improve
the performance of cdev over CA.
I would not want to support adding hardware records unless we change
EPICS to support records which do not inherit from dbCommon. This does not
imply data only records, because they could still have a "process" method.
Chip
- Replies:
- Re: Hardware Configuration Andrew Johnson
- References:
- Re: Hardware Configuration Gabor Csuka
- Navigate by Date:
- Prev:
SLC 500 support under R3.13Beta4 S. Joshua Stein
- Next:
Status of channel access server in R3.13.0.beta1 ? Guy Jennings
- 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:
Re: Hardware Configuration Gabor Csuka
- Next:
Re: Hardware Configuration Andrew Johnson
- 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
|