Experimental Physics and Industrial Control System
|
Hi Ruth,
No, you aren't doing anything wrong. You have hit a shortcoming in caproto. Caproto implements
several different clients on a shared core implementation of the CA protocol. The synchronous client (and the command-line client, which uses it) do not yet support automatic re-connection. This to-do item is tracked in
the documentation at https://caproto.github.io/caproto/protocol-compliance.html#synchronous-client-and-command-line-client.
Caproto's threading client is our most robust and feature-complete one, and it does handle automatic re-connection correctly. Thus, your options are:
1. Write a small program to your purpose that uses caproto's threading client. (Relevant section of docs is https://caproto.github.io/caproto/threading-client.html#subscribe-monitor.)
2. Retreat to EPICS base camonitor.
3. Fix caproto-monitor to automatically reconnect.
If you feel inspired to tackle (3) you would have our support. If not, I expect one of the core contributors will get to this soon. Thanks for the post.
Dan
Daniel B. Allan, Ph.D
Associate Computational Scientist, Brookhaven National Lab
When I exit from IOC while camonitor is monitoring a PV, camonitor is able of reconnecting with IOC after it restarts.
With caproto-monitor that not happens, it returns the cmd prompt. I've to launch caproto-monitor again.
Am I doing something wrong?
EPICS base 3.14.12.7 (windows-x64).
Caproto version 0.4.3. (windows-x64)
Thank you for your attention,
|
- Navigate by Date:
- Prev:
Timestamp reset event in EVR Di Wang via Tech-talk
- Next:
Re: Timestamp reset event in EVR Michael Davidsaver via Tech-talk
- 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:
caproto-monitor exits when IOC exits too Rute Mendes via Tech-talk
- Next:
Timestamp reset event in EVR Di Wang via Tech-talk
- 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
|
ANJ, 17 Mar 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|