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: Mark Rivers <rivers@cars.uchicago.edu>
To: "'Kasemir, Kay'" <kasemirk@ornl.gov>, "Church, Eric D" <eric.church@pnnl.gov>, 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:43:46 +0000
> Looks like the EPICS_CA_ADDR_LIST used by camonitor is not using the broadcast address of your host.

It should be doing that automatically without you needing to set EPICS_CA_ADDR_LIST.  Can you send the output of the following commands Linux command in the shell where you are running camonitor.

ifconfig
printenv | grep EPICS

At the IOC shell prompt on both the first and second IOCs send the output of

epicsPrtEnvParams


What happens if you set EPICS_CA_ADDR_LIST manually to the broadcast address of your system?  For example on my system ifconfig shows:

p5p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 164.54.160.82  netmask 255.255.255.0  broadcast 164.54.160.255
        inet6 fe80::3efd:feff:fea3:f258  prefixlen 64  scopeid 0x20<link>
        ether 3c:fd:fe:a3:f2:58  txqueuelen 1000  (Ethernet)
        RX packets 80276465019  bytes 92598173910474 (84.2 TiB)
        RX errors 0  dropped 114  overruns 0  frame 0
        TX packets 32261858165  bytes 16671972218313 (15.1 TiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So I would set EPICS_CA_ADDR_LIST=164.54.160.255

Mark




> -----Original Message-----
> From: Kasemir, Kay [mailto:kasemirk@ornl.gov]
> Sent: Tuesday, December 05, 2017 3:37 PM
> To: Church, Eric D; Mark Rivers; Ralph Lange; EPICS Tech Talk
> Cc: Mendez, Jennifer M
> Subject: Re: caget() from C++
> 
> >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?
> 
> Looks like the EPICS_CA_ADDR_LIST used by camonitor is not using the broadcast
> address of your host.


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
Re: caget() from C++ Mark Rivers
Re: caget() from C++ Church, Eric D
Re: caget() from C++ Kasemir, Kay

Navigate by Date:
Prev: Re: caget() from C++ Kasemir, Kay
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  <2017
Navigate by Thread:
Prev: Re: caget() from C++ Kasemir, Kay
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  <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 ·