EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: caget working, but cainfo not ?
From: Timo Korhonen via Core-talk <core-talk at aps.anl.gov>
To: Torsten Bögershausen <Torsten.Bogershausen at ess.eu>, Ralph Lange <ralph.lange at gmx.de>, EPICS Core Talk <core-talk at aps.anl.gov>
Date: Fri, 11 Sep 2020 08:19:42 +0000
Torsten, do you have pvget on your Mac? If yes, trying 

pvget -d IOC:m1

could give you some hints on what is going on the network. (-d for debug).
Assuming your IOC is PVA-capable, that is.

Just my 2 cents __

Timo

On 11/09/20 10:12, "Core-talk on behalf of Torsten Bögershausen via Core-talk" <core-talk-bounces at aps.anl.gov on behalf of core-talk at aps.anl.gov> wrote:

    
    
    On 11/09/20 09:09, Torsten Bögershausen via Core-talk wrote:
    > 
    > 
    > On 11/09/20 08:53, Ralph Lange via Core-talk wrote:
    >> On Fri, 11 Sep 2020 at 07:40, Torsten Bögershausen via Core-talk 
    >> <core-talk at aps.anl.gov <mailto:core-talk at aps.anl.gov>> wrote:
    >>
    >>     Trying to find the box that is running the IOC ddidn't work:
    >>
    >>     ~/shared_EEE/projects/epics/MCAG_setupMotionDemo.200109-base-7.0.3 $
    >>     cainfo IOC:m1
    >>     Channel connect timed out: 'IOC:m1' not found.
    >>
    >>     But caget does work:
    >>
    >>     ~/shared_EEE/projects/epics/MCAG_setupMotionDemo.200109-base-7.0.3 $
    >>     caget IOC:m1
    >>     IOC:m1                         6.01
    >>
    >>
    >>     This is under MacOS, EPICS base 7.0.3.
    >>     env | grep EPICS shows nothing special.
    >>
    >>
    >> Unusual indeed.
    >>
    >> Please try 'which' on the commands.
    >> Maybe one of them is a 'convenience' script that sets the environment 
    >> before running the binary from Base.
    >>
    >> Cheers,
    >> ~Ralph
    >>
    > 
    > Side note:
    > The path is obfuscated,
    > (and I will reboot the machine, it's Friday)
    > 
    > ~/somePath $ which caget
    > /Users/torstenbogershausen/somePath/epics/base/bin/darwin-x86/caget
    > ~/somePath $ type caget
    > caget is hashed 
    > (/Users/torstenbogershausen/somePath/epics/base/bin/darwin-x86/caget)
    > ~/somePath $ type cainfo
    > cainfo is hashed 
    > (/Users/torstenbogershausen/somePath/epics/base/bin/darwin-x86/cainfo)
    > ~/somePath $ which cainfo
    > /Users/torstenbogershausen/somePath/epics/base/bin/darwin-x86/cainfo
    > ~/shared_EEE/somePath $
    
    Thanks Ralph,
    
    And here some more useless information...
    - Rebooted the Mac
    - Found the IOC on a linux machine,
       being once started in the background as part of an automated test.
    Most probably we have settings like this:
    EPICS_CA_ADDR_LIST=127.0.0.1
    EPICS_CA_AUTO_ADDR_LIST=NO
    export EPICS_CA_ADDR_LIST EPICS_CA_AUTO_ADDR_LIST
    Then we have a shell script to start the IOC, running
    Base R7.0.4.1
    
    The Linux box is connected to WLAN.
    
    On the (rebooted) Mac (WLAN as well) the following
    happens:
    
    EPICS Base 7.0.3 (on the Mac):
       caget finds the PV sometimes, roughly 2-3 times of 10 tries
       cainfo does not find it.
    EPICS Base  R3.15.5:
       caget fails always, and so does cainfo
    
    
    I don't know if we should put more time on this issue ?
    
    
    
    
    
    
    


Replies:
Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
References:
caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Re: caget working, but cainfo not ? Ralph Lange via Core-talk
Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk

Navigate by Date:
Prev: Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Next: Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Next: Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 11 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·