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: Andrew Johnson <[email protected]>
To: Benjamin Franksen <[email protected]>
Cc: Marty Kraimer <[email protected]>, EPICS Techtalk <[email protected]>
Date: Tue, 10 Mar 1998 15:46:17 +0000
Benjamin Franksen wrote:

> another proposal (suggested by Goetz Pfeiffer): Currently there is a
> 'Symb' device support for ai, ao, longin, longout, stringin and
> stringout records.
...
> (1) To protect the data transport, simply add some
> 
>         intLock()
>         ...
>         intUnlock()

This is unnecessary as long as the value is read in a single cycle - for
longs certainly, and possibly for doubles too (I'd need to check the
compiler output to be sure of this one).  It may be worth doing this for
strings and waveforms though (added by me, see below).

> (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, 

This change has already been made by William Lupton who also supports
access to pointers and elements of arrays.  There is a further modified
version by myself which enhances his mods further to defer pointer
lookups to runtime rather than init time.  These changes ought to be
applied into the distribution if they aren't already.

My versions are at ftp://ftp.ast.cam.ac.uk/pub/anj/devSymb.tar.Z
Note that there is a bug in my modified devLoSymb.c, line 101 should
read:
    *((long *)(*private->ppvar) + private->index) = plongout->val;
               ^Missing
Sorry, I don't have time to rebuild the tar file just now.

-- 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:
Proposal for boosted Symb device support Benjamin Franksen

Navigate by Date:
Prev: Proposal for boosted Symb device support Benjamin Franksen
Next: Re: Proposal for boosted Symb device support Marty Kraimer
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: Proposal for boosted Symb device support Benjamin Franksen
Next: Re: Proposal for boosted Symb device support Marty Kraimer
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 ·