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 ? Timo Korhonen 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
- Navigate by Date:
- Prev:
Re: caget working, but cainfo not ? Torsten Bögershausen via Core-talk
- Next:
Re: caget working, but cainfo not ? Timo Korhonen via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
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 ? Timo Korhonen via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|