EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Passive Scanning processing
From: "Dalesio, Leo" <[email protected]>
To: Diego Sanz <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 11 Dec 2012 14:48:52 +0000

The link is owned by the AI record. The AI record is not referencing the Calc record.

Putting to the AI record – does not affect the Calc record as the AI record does not know how to reference the Calc record.

 

If you want the Calc to process when the AI is processed –

1)      use the forward link in the AI record – FLNK – enter the Calc record into it.

2)      Use the CPP option on the Calc records reference to the AI record (this causes a channel access monitor to process the Calc record whenever the AI record changes (note – not any time it is processed – any time it changes VAL).

Chapter 2 of the record reference explains this. (At least it used to be chapter two.)

 

From: [email protected] [mailto:[email protected]] On Behalf Of Diego Sanz
Sent: Tuesday, December 11, 2012 9:44 AM
To: [email protected]
Subject: Passive Scanning processing

 

My Doubt is about the processing of a pasive Record with an input Link PP, with another passive record connected to.  In point 1. and 1.3  in the EPICS Record Reference Manual comes information related to it. I understand that every passive record is processed when I change its VAL. e.g.,  I've got the next record in my Db

 

record(ai,inp0){

field(SCAN,"Passive")

}

 

...then I run the IOC, and every time I change the VAL, (e.g., with caput command: caput inp0 124) , I can see with camonitor command that the PV value is changing.

 

Now we connect this Record to the next record:

 

record (calc,calcinp){

field(SCAN,"PAssive")

field(INPA," inp0 PP")

field(CALC,"A+45")

}

 

What I understand from reference manual, is that a passive record with a PP Link (in this case calcinp) with another passive record connected to (in this case inp0), is processed if the other record (inp0) is processed, and I can make  inp0 to be processed executing the command "caput inp0 198".

 

But the result is that every time I change the value of inp0 with the caput command, the calcinp record is not processed...why?

 

Thanks for the answers


References:
Passive Scanning processing Diego Sanz

Navigate by Date:
Prev: Passive Scanning processing Diego Sanz
Next: Re: Utilities for EPICS on Multi-Core Linux Shen, Guobao
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Passive Scanning processing Diego Sanz
Next: "Connection refused" when running Ethernet/RS232 application 张德敏
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·