Hi Walter,
On 12/15/2014 08:22 AM, Walter Werner wrote:
> 2014-12-12 17:44 GMT+01:00 Andrew Johnson <[email protected]>:
>> Do you have a connection callback handler for your PVs? If not,
>> supplying one may prevent some of the disconnect messages (and permit
>> your code to find out when it should stop trying to access the PV values).
>
> Yes, i do have the connection handler. And i try to recoonect the pv
> if the connection is lost. As far as i know the PV class does not
> reconnect automatically. My problem was more a cosmetic nature for the
> end user. It looks not very nice if some exception is printed on the
> console, although i already take care of it.
I'm not a pyepics expert so I might be wrong about how to use it, but
the underlying CA library *does* reconnect channels automatically as
soon as the IOC comes back online, so you might want to double-check
that part of your code just to make sure.
- Andrew
--
People everywhere confuse what they read in newspapers with news.
-- A. J. Liebling
- References:
- Re: pyepics "Virtual circuit disconnect" CA.Client.Exception Walter Werner
- Navigate by Date:
- Prev:
Re: pyepics "Virtual circuit disconnect" CA.Client.Exception Walter Werner
- Next:
Re: CA Gateway 2.0.5.0 released Benjamin Franksen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: pyepics "Virtual circuit disconnect" CA.Client.Exception Walter Werner
- Next:
Fwd: Undelivered Mail Returned to Sender Ron Sluiter
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|