EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: genSub V1-5
From: Andy Foster <[email protected]>
To: Epics Questions <[email protected]>
Date: Wed, 4 Feb 2004 11:37:56 +0000 (GMT)
Dear All,

I've modified the "genSub" record very slightly to solve
a potential problem when using this record with EPICS 3.13.9.
In 3.13.9, the macro for "dbGetLink"
(and "dbPutLink") changed. This meant that, for this
particular record, it was possible for all links downstream
of a constant link to actually fetch
0 elements rather the number you were expecting. And this is
because the number of requested elements is overwritten with
0 when accessing a constant link.

The solution was to make sure to explicitly reset the number
of requested elements in the record support code (as is done
in the standard records) before calling "dbGetLink" and not
to rely on this parameter remaining the same after a constant link.

This is version 1-5 and can be found at:

http://www.observatorysciences.co.uk/epics.htm

Note, it is fully compatible with older 3.13 releases
but has not been modified to run under 3.14.

Cheers,

Andy

--------------------------------------------------------------------
Observatory Sciences Limited    Email: [email protected]
William James House             Tel: 44 - (0)1223 - 508259
Cowley Road                     Fax: 44 - (0)1223 - 508258
Cambridge, CB4 0WX, UK          http://www.observatorysciences.co.uk


Navigate by Date:
Prev: Camac controll by using 3.14.4 on Linux KOMIYAMA (KOBAYASHI) Misaki
Next: Re: ChannelArchiver and gcc 3.2.2 on linux Kay Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Camac controll by using 3.14.4 on Linux KOMIYAMA (KOBAYASHI) Misaki
Next: Anybody using modtcp and Wago? Eric Williams
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024