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: aSub record : adding arguments
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: Kate Feng <[email protected]>
Date: Fri, 14 Sep 2012 09:50:43 -0500
Hi Kate,

On 2012-09-14 Kate Feng wrote:
> 
>     Adding arguemnts to the aSub record would facilitate the usage of
> the subroutine to
> be more globally generic and versatile.  The arguments will be used for
> the subroutine.

I don't really understand the purpose of these.  The subroutine already has 
direct access to the 21 type-configurable input fields A..U that can be read 
from the links INPA..INPU and which are more flexible, why can't it use those 
instead?

The aSub record already has 284 fields, 48 of which are links, so each 
instance of an aSub record takes up something like 4000 bytes (a bit less on a 
32-bit CPU) without including the array storage.  If you want a record type 
with a different interface to the subroutine you're welcome to create one and 
publish it, but I don't currently see this addition to the aSub making it into 
Base without more explanation and a stronger case for it.

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

Replies:
Re: aSub record : adding arguments Kate Feng
References:
aSub record : adding arguments Kate Feng

Navigate by Date:
Prev: Re: waveform changes using subArray Andrew Johnson
Next: Re: waveform changes using subArray Hinko Kocevar
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: aSub record : adding arguments Kate Feng
Next: Re: aSub record : adding arguments Kate Feng
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 ·