Subject: |
Re: [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base |
From: |
Dirk Zimoch <[email protected]> |
To: |
[email protected] |
Date: |
Mon, 05 Jul 2010 08:02:23 -0000 |
Andrew,
> The aao record always goes to INVALID_ALARM in simulation mode.
I missed that. It should use the SIMS field as well. As soon as I get bazaar installed on this computer, I will fix that.
I have never seen documentation on the aai/aao records, but I guess that the intention was to set BPTR directly to memory mapped register space to save the time for copying data. But this has several disadvantages:
* BPTR must be set early enough (fixed now)
* BPTR must not change at run time (e.g. no double buffering). I have to check what devExtend() does to solve this problem.
* As a result, BPTR may contain inconsistent data if the hardware modifies the buffer while it is being read (e.g. by a CA read or monitor)
I kept the memory allocation model to stay compatible to old device supports. Additionally I allow for new device supports not to set BPTR. Also to stay compatible, I do not want to switch from BPTR to VAL.
Basically the aai is the same as the waveform record except that it does not have a RARM field. The aao is the only record that is intended to write arrays. (The waveform can write through its INP if the device support allows. But if we do so, why do we need ai/ao, mbbi/mbbo, etc. pairs?)
--
https://code.launchpad.net/~dirk.zimoch/epics-base/fix-aai-and-aao/+merge/26195
Your team EPICS Core Developers is requested to review the proposed merge of lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base.
- Replies:
- Re: [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base Andrew Johnson
- References:
- [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base Dirk Zimoch
- Navigate by Date:
- Prev:
Re: [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base Andrew Johnson
- Next:
Re: [Merge] lp:~michael-abbott/epics-base/dynamic-array into lp:epics-base Michael Abbott
- Index:
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: [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base Andrew Johnson
- Next:
Re: [Merge] lp:~dirk.zimoch/epics-base/fix-aai-and-aao into lp:epics-base Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|