EPICS Controls Argonne National Laboratory

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: Proposal for boosted Symb device support
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Tue, 10 Mar 1998 09:49:34 -0600
Benjamin Franksen wrote:
> 
> Hello Marty (and all the others),
> 
> another proposal (suggested by Goetz Pfeiffer): Currently there is a
> 'Symb' device support for ai, ao, longin, longout, stringin and
> stringout records. Their purpose is to associate the records VALue with
> some globally visible VxWorks variable through the use of VxWorks'
> symbol table. But the implementation is rather crude: Neither is there
> any protection against race conditions while copying the value, nor is
> there the possibility to supply the name of the symbol independently
> from the record's name resp. naming convention.


In the next release of base the version of Symb* is that supplied by
William Lupton. It is a major change to the old support while keeping
compatibity. William interacted with Steve Lewis while designing and
implementing the changes.
 
> Both can be mended easily:
> 
> (1) To protect the data transport, simply add some
> 
>         intLock()
>         ...
>         intUnlock()
> 
> pairs around the critical section, which is for example in devAiSymb the
> single line
> 
>         pai->val = *(double *)(pai->dpvt);
> 
> (2) To enable record name independent symbol names, check the hw link if
> it equals INST_IO. If yes, get the symbol name from the link, otherwise
> (ie the link is CONSTANT) use the previous algorithm as a fallback
> method.
> 
> I'd volunteer to code the proposed changes, if there is interest and
> there are no objections to them.


I will send you the latest version. 

Marty

References:
Proposal for boosted Symb device support Benjamin Franksen

Navigate by Date:
Prev: Re: Proposal for boosted Symb device support Andrew Johnson
Next: Re: Greenspring rs422 support Joseph P. Sullivan
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: Proposal for boosted Symb device support Andrew Johnson
Next: RE: Proposal for boosted Symb device support Jeff Hill
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·