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  <20152016  2017  2018  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS and multiple IOCs
From: Franklin Fuller <[email protected]>
To: Benoit <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 8 May 2015 12:53:41 -0700
Benoit,

Your suggestion led me to the solution.  The problem was in CSS's ADDR list settings, which apparently are not listening to the same environment variables that CA is using.

Thanks so much!

To be clear: CSS > Preferences > CSS CORE > EPICS > addr list
Make sure local ip (127.0.0.1) and your broadcast IP are in the list.  Broadcast IP was calculated using this calculator: http://jodies.de/ipcalc

xx.xx.19.0/24 did not work for me.

On Thu, May 7, 2015 at 1:10 AM, Benoit <[email protected]> wrote:
Hi,

Maybe a better way is to directly the IPs using: Preferences > CSS Core > EPICS > addr_list
However for me this only works with specific IP and not broadcast range: Maybe you should try xx.xx.19.0/24

Cheers,



On Thu, May 7, 2015 at 7:25 AM, Franklin Fuller <[email protected]> wrote:
Hello,

My problem is: I have two soft IOCs running on a Mac (Yosemite) and I can't seem to get CSS to connect to both simultaneously.  CSS connects to each individually without issue.  In the terminal, I can use caget/caput to drive both devices simultaneously.

I see this problem has shown up in this email list before, but the suggestion seems to be to fix the CA.  As I'm able to get caget/caput to work, though, I'm not sure it's a problem with CA.  Frankly, it's not yet clear to me where exactly one should modify the myriad of environment variables discussed.  The best I've found so far is two variables defined in base/startup/Site.profile.  Currently I have:

 EPICS_CA_AUTO_ADDR_LIST=YES
 EPICS_CA_ADDR_LIST="xx.xx.19.255 127.0.0.1"

Where in the second I put both the "broadcast" IP and the local IP.  I've tried various settings here.  No solution yet.  I have also put these into my ~/.bash_profile for good measure.

I also see the opposite of what others report: the first ioc started is the one that CSS connects to, not the last.
 
~Franklin



References:
CSS and multiple IOCs Franklin Fuller
Re: CSS and multiple IOCs Benoit

Navigate by Date:
Prev: Final Program for the Spring 2015 EPICS Collaboration Meeting Maxwell, Dylan
Next: Patches for streamDevice 2-6 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CSS and multiple IOCs Benoit
Next: Re: CSS and multiple IOCs Matt Bickley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·