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  <2017 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
<== Date ==> <== Thread ==>

Subject: Re: caget() from C++
From: "Church, Eric D" <eric.church@pnnl.gov>
To: Mark Rivers <rivers@cars.uchicago.edu>, Ralph Lange <ralph.lange@gmx.de>, EPICS Tech Talk <tech-talk@aps.anl.gov>
Cc: "Mendez, Jennifer M" <Jennifer.Mendez@pnnl.gov>
Date: Tue, 5 Dec 2017 21:26:54 +0000
Ok. Did it, Mark.

Indeed camonitor can properly watch a channel on the first IOC when only it is running. I can dial up and down the voltage from CSS on a particular PV on this first IOC and watch it move on camonitor. When I start the second IOC I can continue this exercise on POVs on the first IOC. If I kill camonitor, per your suggestion, I can not start it again on a PV on the first IOC. And if I kill the second IOC I can once again start camonitor successfully on a PV on the first IOC.

What does it mean, do ya think? -- Eric

On 12/5/17, 6:18 AM, "Mark Rivers" <rivers@cars.uchicago.edu> wrote:

    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: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Ralph Lange <ralph.lange@gmx.de>
    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 <eric.church@pnnl.gov<mailto:eric.church@pnnl.gov>>
    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++ Kasemir, Kay
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
Re: caget() from C++ Mark Rivers

Navigate by Date:
Prev: Re: Help needed on adl to opi standalone converter Kasemir, Kay
Next: RE: EPICS 7 Release Candidate 1 Mark Rivers
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
Navigate by Thread:
Prev: Re: caget() from C++ Mark Rivers
Next: Re: caget() from C++ Kasemir, Kay
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
ANJ, 05 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·