Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018 
<== Date ==> <== Thread ==>

Subject: Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: mp+26190@code.launchpad.net
Date: Mon, 25 Oct 2010 16:35:58 -0000
I thought about ways to convert strings to numbers (or pointers) beforehand. The problem is that the event a record posts may change each time the record processes. This is unlikely but nevertheless possible. It would require a special treatment of event.VAL and calcout.OEVT. Whenever the field is changed, the special support could convert the string into a pointer to the scan list which is then stored in another field.

While this is possible with special support, I have no hope for event records reading the event from INP or SIOL. Is there any way to find out if a link target has changed it value without actually comparing the values? In the worst case, the string has to be converted to pointer each time the event record processes when in simulation mode or using soft device support.

This approach means that the code to convert string to pointer has to go into the soft device support and any other device support that modifies event.VAL. My previous approach was backward compatible to existing device supports.
-- 
https://code.launchpad.net/~dirk.zimoch/epics-base/named-soft-events/+merge/26190
Your team EPICS Core Developers is requested to review the proposed merge of lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base.


References:
[Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base Dirk Zimoch

Navigate by Date:
Prev: Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base mdavidsaver
Next: Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018 
Navigate by Thread:
Prev: Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base mdavidsaver
Next: Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·