EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Basic Question regarding input links
From: "Mark Rivers" <[email protected]>
To: "Mathias Steiner" <[email protected]>, <[email protected]>
Date: Tue, 12 Jun 2007 19:22:03 -0500
> The reason I'm asking is that in my application, only the 
> channel access 
> link causes "answr" to process, the database link doesn't, and we 
> couldn't agree on what was supposed to happen.

That is what is supposed to happen.  If you want a record to process
when its input changes then you must set the link to CP.

PP is what you set output links to if you want it to process the record
that the output is linked to.

Mark


> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Mathias Steiner
> Sent: Tuesday, June 12, 2007 6:00 PM
> To: [email protected]
> Subject: Basic Question regarding input links
> 
> Learned Friends,
> 
> I have what I believe to be a very basic EPICS question.
> I'm new to ioc programming, so bear with me, please.
> 
> Let "a" and "b" be analog input records, passive, initialized to 1.
> On the same ioc as those two, define
> 
> record(calc, "answr")
> {
>    ...
>    field(INPA, "a.VAL PP NMS")
>    field(INPB, "b.VAL CP NMS")
>    field(CALC, "A+B")
>    ...
> }
> 
> As the ioc starts up, the value of "answr" is 2, as expected.
> 
> My question is this:
> When "a" is set to another value, does "answr" process?
> 
> Also, when "b" is set to a different value, does "answr" process?
> 
> In other words, does a change in the linked record lead to 
> processing of 
> the linking record, and does it do so for both database links and 
> channel access links?
> 
> The reason I'm asking is that in my application, only the 
> channel access 
> link causes "answr" to process, the database link doesn't, and we 
> couldn't agree on what was supposed to happen.
> 
> Cheers, and Thanks in advance,
> -Mathias
> 


Replies:
Re: Basic Question regarding input links Luedeke Andreas
References:
Basic Question regarding input links Mathias Steiner

Navigate by Date:
Prev: Basic Question regarding input links Mathias Steiner
Next: Re: Basic Question regarding input links Luedeke Andreas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Basic Question regarding input links Mathias Steiner
Next: Re: Basic Question regarding input links Luedeke Andreas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·