Chip is right in rejecting the idea of having a single h/w config record
per signal, and possible ever per I/O card/module is too much. Marty's
record defines setups for a whole field-bus, which is a reasonable level
of overhead. For CANbus I give this sort of data to an initialisation
routine in the startup script, but there are reasons why some sites don't
want to do this.
I like the idea of being able to define a record type which doesn't
support the whole of dbCommon. In fact I wonder whether we could make some
fields optional by putting them in a sub-structure (say one for CA monitor
fields, another for scan fields etc). Why should *every* record type have
to support ASGs, Scan types, Disabling, Channel Access monitors, Alarms
and Forward Links? Most will, but I can forsee simplified record types
for which some of these aren't necessary.
For example, a common use for an AO record is to get a value from
somewhere and put it elsewhere. This doesn't need alarms or monitors
necessarily, so there could be a simple "copy" record which just does this
job. It ought to be possible to maintain backwards compatibility while
adding features to support these simplified record types, and Hardware
Configuration records have similar kinds of characteristics.
- Andrew
___
.' `. Andrew Johnson, Head of Electronics
/ Royal ) Royal Greenwich Observatory
\ Greenwich Madingley Road, Cambridge, CB3 0EZ
| Observatory Tel: +44 1223 374823 Fax: 374700
+---------- WWW: http://www.ast.cam.ac.uk/~anj
- References:
- Re: Hardware Configuration watson
- Navigate by Date:
- Prev:
VxWorks ramblings Steve Lewis
- Next:
bug in the sequencer Jeff Hill
- 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 watson
- Next:
Re: Hardware Configuration 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
|