Have a look at the database entry for the subroutine record:
record(aSub,"$(user):aSubExample")
{
field(INAM,"myAsubInit")
field(SNAM,"myAsubProcess")
field(FTA,"DOUBLE")
field(NOA,"10")
field(INPA,"$(user):compressExample CPP")
}
Since INPA is CPP ("channel process passive") it places a monitor on the compressExample record, which in turn has a monitor on the aiExample record which in turn is forward linked from the calExample record which scans once per second.
So the calcExample kicks off the full chain of record processing at 1 Hz.
See section 5.12.1 INLINK of the application developer's guide for details.
On Sep 2, 2010, at 7:38 AM, [email protected] wrote:
> Hello,
>
> I'm diving into the source code of the default example given with epics installation and I don't find how the "calcExample" record (example/testApp/db/dbExample1.db) calls the "myAsubProcess" method (example/testApp/src).
>
> I understood that the SCAN field runs the periodic call to this method, but how does it call it ?
>
> Cheers
> Max
>
>
--
Eric Norum
[email protected]
- References:
- How calcExample calls myAsubProcess ? M . VERDIER
- Navigate by Date:
- Prev:
Re: msi again Linda.Pratt
- Next:
Re: msi again Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
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:
How calcExample calls myAsubProcess ? M . VERDIER
- Next:
Re: epics site off Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
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
|