EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: calculation record question
From: Ned Arnold <[email protected]>
To: [email protected], [email protected]
Date: Wed, 24 Oct 2001 11:55:24 -0500 (CDT)
> Hi,
> 
> Can the previous input values be used in the expression for a 
> calculation record?
> 
> Thanks
> 
> Geoff
> 



Yes. Since the input links are fetched in alphabetical order, you can do the
following ...

record(calc, "calcRecord1")
{
        field(INPA, "calcRecord1.B  NPP NMS")
        field(INPB, "someOtherPV.VAL NPP NMS")
        field(INPC, "calRecord1.LB NPP NMS")
}


Both A and C will have the previous value of "someOtherPV" while B will 
have the current value.


	Ned
	



Navigate by Date:
Prev: calculation record question Geoff Savage
Next: EPICS base release 3.14.0beta1 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: calculation record question Bob Dalesio
Next: EPICS base release 3.14.0beta1 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·