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

Subject: Re: caget() from C++
From: Mark Rivers <[email protected]>
To: Ralph Lange <[email protected]>, EPICS Tech Talk <[email protected]>
Cc: "Mendez, Jennifer M" <[email protected]>, "Church, Eric D" <[email protected]>
Date: Tue, 5 Dec 2017 14:18:36 +0000
Eric,


Here is an experiment to try.


- Start the first IOC, which will use port 5064.


- Run camonitor on a PV from that IOC and leave it running.


- Start the second IOC.


- What happens to camonitor?  Does it lose connection to the PV on 5064?


- If not, then stop camonitor and restart it.  Can it connect?


Mark



________________________________
From: [email protected] <[email protected]> on behalf of Ralph Lange <[email protected]>
Sent: Tuesday, December 5, 2017 6:59 AM
To: EPICS Tech Talk
Cc: Mendez, Jennifer M; Church, Eric D
Subject: Re: caget() from C++

Hi Eric,

From: Church, Eric D <[email protected]<mailto:[email protected]>>
Subject: Re: caget() from C++

[...]
(3) I point out my CSS is fine. Sometimes it can not see the PVs on the IOC that I can also not cainfo into, but a restart of the IOC fixes that, and CSS is fully functional to monitor and control all my PVs.
(4) My archive-engine is also fine. It tells me all my PVs are connected. If I call the IOC they disconnect of course, but restarting the IOCs brings back the connection.
(5) cainfo still does not see the PVs on 5064 port.
(6) My other client that does the ca_get() and ca_put() in C++ also has the problem of (4). This is the only reason I care about this. Cuz otherwise I have good functionality.
(7) If I kill my archive-engine and my CSS I have fewer entries from netstat, but the same behavior: 2 extra UDP connections reported for 5064, and I can not talk to those PVs with cainfo.

CS-Studio and probably your archive engine are Java applications.
The command line utilities are binaries (compiled from C/C++).

The configuration mechanisms between Java applications and C/C++ binaries are different. Unless you explicitly configure both the same way, it is expected that only changing the configuration for one type of applications will not affect the other.

Cheers,
~Ralph


Replies:
Re: caget() from C++ Church, Eric D
References:
caget() from C++ Church, Eric D
Re: caget() from C++ Andrew Johnson
Re: caget() from C++ Church, Eric D
Re: caget() from C++ Mark Rivers
Re: caget() from C++ Church, Eric D
RE: caget() from C++ Mark Rivers
Re: caget() from C++ Church, Eric D
RE: caget() from C++ Mark Rivers
Re: caget() from C++ Church, Eric D
Re: caget() from C++ Mark Rivers
Re: caget() from C++ Ralph Lange

Navigate by Date:
Prev: Re: caget() from C++ Ralph Lange
Next: Job opening at DESY Penning, Joerg
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: caget() from C++ Ralph Lange
Next: Re: caget() from C++ Church, Eric D
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·