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  <20112012  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  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: gensub to asub
From: [email protected]
To: Matthieu Bec <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Mon, 24 Jan 2011 11:04:20 -0800
On 03:48 Sat 22 Jan     , Matthieu Bec wrote:
> Hi Emmanuel
>
> >    return(*p_counter);
>
> I think your routine needs to return 0 on success to push the values out
>
> Matthieu
>

Yes, that fixed the problem.
With gensub I used counter to keep tracks of how many times the record was called.
For gensub records, the returned value was assigned to the record.
It seems that asub work the same way except that this value can only be 0!!!

Q: Is there a way to change the value of the asub record?

-- 
Emmanuel

Replies:
Re: gensub to asub Andrew Johnson
References:
gensub to asub emmanuel_mayssat
Re: gensub to asub Matthieu Bec

Navigate by Date:
Prev: RE: dynamic monitoring Jeff Hill
Next: Re: gensub to asub Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: gensub to asub Matthieu Bec
Next: Re: gensub to asub Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  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 ·