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: Basic Question regarding input links
From: Mathias Steiner <[email protected]>
To: [email protected]
Date: Tue, 12 Jun 2007 18:59:47 -0400
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 Mark Rivers

Navigate by Date:
Prev: RE: EPICS channels via the Internet Jeff Hill
Next: RE: Basic Question regarding input links Mark Rivers
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: labCA 3.0.beta released Till Straumann
Next: RE: Basic Question regarding input links Mark Rivers
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 ·