EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  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  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: which ca_get failed?
From: "Jeffrey O. Hill" <[email protected]>
To: "Dirk Zimoch" <[email protected]>
Cc: TechTalk EPICS <[email protected]>
Date: Mon, 15 Oct 2007 16:15:41 -0600 (MDT)
> I do several ca_get in one go like this:
>
> ca_get(..., chid1, ...)
> ca_get(..., chid2, ...)
> ca_get(..., chid3, ...)
> ca_pend_io(timeout_sec)
>
> If ca_pend_io returns ECA_TIMEOUT, how do I find out which get failed?

Unfortunately, you cant. You can only know if they _all_ succeeded, or
not. Use get callback if your needs are more ambitious.

Jeff

On Mon, October 15, 2007 10:29 am, Dirk Zimoch wrote:
> Hi all,
>
> I do several ca_get in one go like this:
>
> ca_get(..., chid1, ...)
> ca_get(..., chid2, ...)
> ca_get(..., chid3, ...)
> ca_pend_io(timeout_sec)
>
> If ca_pend_io returns ECA_TIMEOUT, how do I find out which get failed?
>
> Dirk
>
> --
> Dr. Dirk Zimoch
> Paul Scherrer Institut, WBGB/006
> 5232 Villigen PSI, Switzerland
> Phone +41 56 310 5182
>


-- 
Jeffrey O. Hill               Mail         [email protected]
LANL MS H820                  Voice        505 665 1831
Los Alamos NM 87545 USA       Fax          505 665 5107


References:
which ca_get failed? Dirk Zimoch

Navigate by Date:
Prev: RE: genSub Mark Rivers
Next: Re: fedora core 7 medm (was >> Re: MEDM compile - update :) Robert Soliday
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: which ca_get failed? Dirk Zimoch
Next: Installing EDM on OS X 10.4.10 Bertrand H.J. Biritz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·