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

Subject: Re: Calcout using CA output link sometimes gets INVALID severity
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Fri, 12 Oct 2012 14:27:30 -0500
Hi again Lewis,

On 2012-10-12 J. Lewis Muir wrote:
> In reality, this calcout thing is a bit contrived; I was just
> creating a small test to show the problem.  What I really want
> to do is to use the putNotify functionality that some extension
> records use to wait for all records to finish processing as a
> result of a put.  Examples of this are the sseq record
> (WAIT[1-A] fields) in the std module, the scalcout record (WAIT
> field) in the calc module, and the sscan record in the sscan
> module.  All of these will have problems if processed before the
> CA links are connected.

FYI all the output record types in 3.14 have "Async Soft Channel" device 
support which use ca_put_callback() to provide that kind of wait-for-
completion functionality.

In 3.15 the input record types come with "Async Soft Channel" support for DB 
links, meaning that they process the record they're pointing to and wait for 
completion before returning the value from the addressed field.  Strangely 
though the output device support described above hasn't been changed to work 
using DB links yet, although it could use the same mechanism.

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

Replies:
Re: Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir
References:
Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir
Re: Calcout using CA output link sometimes gets INVALID severity Ralph Lange
Re: Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir

Navigate by Date:
Prev: Re: Calcout using CA output link sometimes gets INVALID severity Andrew Johnson
Next: Re: Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir
Next: Re: Calcout using CA output link sometimes gets INVALID severity J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·