Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Maximum (Minimum) Value of a Set of Readback PVs
From: Tim Mooney <mooney@aps.anl.gov>
To: John K Munro Jr <jkm@ornl.gov>
Cc: Ernest Williams <ernesto@ornl.gov>, APS tech-talk <tech-talk@aps.anl.gov>
Date: Mon, 23 Jun 2003 12:34:03 -0500
re...,

John K Munro Jr wrote:
Hi Ernest,

Is there a way (that someone has already implemented) with EPICS to
monitor a set of a large number (many dozens) of PVs used for readback
for the maximum (minimum) value in the set and to report the result?  I
would like to be able to display such a maximum (minimum) as part of
giving information about the status of equipment to the operator.

The most straight-forward solution might be to use a bunch of calcOut records. Twelve of them would, in principle, handle 11 dozen PV's. However, with the calc software currently in base, you can only compute the max of five (or maybe six) PV's per calc record, because the calc string is limited in size, and because you have to say something like "max(max(a,b),max(c,d))...

With newer calc software (currently in beta test) --

www.aps.anl.gov/xfd/SoftDist/swBCDA/postfix_R3.13.5.tar.gz

-- you can say "max(a,b,c,d,e,f,g,h,i,j,k,l)", and get 12 PV's per record.

Another straight-forward solution is SNL code, which would execute
more quickly, but be less convenient to modify or generalize.

--
Tim Mooney (mooney@aps.anl.gov) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab


Replies:
Re: Maximum (Minimum) Value of a Set of Readback PVs Ned Arnold
Re: Maximum (Minimum) Value of a Set of Readback PVs kuner
References:
Maximum (Minimum) Value of a Set of Readback PVs John K Munro Jr

Navigate by Date:
Prev: Maximum (Minimum) Value of a Set of Readback PVs John K Munro Jr
Next: Re: Maximum (Minimum) Value of a Set of Readback PVs Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Maximum (Minimum) Value of a Set of Readback PVs John K Munro Jr
Next: Re: Maximum (Minimum) Value of a Set of Readback PVs Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
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 ·