EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: analog output record - constant DOL
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Wed, 19 Jun 2013 01:23:41 +0200
Am Samstag, 15. Juni 2013, 00:51:51 schrieb Andrew Johnson:
> I don't think I want to make the change this way though, I'd rather take
> out the special handling of const links from the record code as part of my
> link- support changes, which should be more flexible and comprehensive.
> It should be possible to store the converted value in the link data
> structure and only do the conversion when it gets changed, and I think the
> result will simplify the record support code as well.

I agree, and appreciate your efforts to improve link handling in 3.15. I have
often wished link handling were more orthogonal. In one of my self-written
record types I once had code that called recGblInitConstantLink at runtime
(each time the record was processed) because that really simplified the code
(I could save a number of record fields to store the constant value and could
avoid case distinctions). However, in practice it was too slow, so I had to
revert back to the standard method of using recGblInitConstantLink only in
init_record.

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachm€nts

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
Re: analog output record - constant DOL Rolf Keitel
Re: analog output record - constant DOL Andrew Johnson

Navigate by Date:
Prev: RE: EPICS device disconnects and reconnects Mark Rivers
Next: Error message control in StreamDevice Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: analog output record - constant DOL Andrew Johnson
Next: VAL field of PV in ASYN driver Vikram Bhagat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·