Note that the document Kay mentioned says this about multiple IOCs on a single computer.
"Due to limitations in most network kernels, however, only the IOC started last will actually receive UDP search requests that are sent to that computer, port 5064. As a workaround, you need to configure the EPICS_CA_ADDR_LIST to use the broadcast address of the respective subnet."
So clients should be able to connect to both your EPICS PV and your pcaspy PVs if EPICS_CA_ADDR_LIST includes the broadcast address of your subnet. Since that is the default if EPICS_CA_ADDR_LIST is not a defined environment variable then it should normally work fine as long as your client and your server computer are on the same subnet. What does not work is to set EPICS_CA_ADDR_LIST to the specific address of your server computer.
How have you defined EPICS_CA_ADDR_LIST on your client machine?
Mark
________________________________________
From: [email protected] [[email protected]] on behalf of Kasemir, Kay [[email protected]]
Sent: Friday, October 14, 2016 7:45 AM
To: lzf neu
Cc: [email protected]
Subject: Re: Question about epics and pcaspy running in one computer
The problem you describe isn’t specific to pcaspy, it’s the general behavior when you have multiple CA servers on the same computer.
Read
https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access
which describes "Multiple IOCs on the same computer”, note that it mentions "only the IOC started last will actually receive UDP search requests” and gives several ways to solve this.
-Kay
> On Oct 13, 2016, at 11:29 PM, lzf neu <[email protected]> wrote:
>
> They are all working. let me describe the processes in details:
> If I start pcaspy first then epics ioc, I see a warning displayed in epics as you said and camonitor cannot display the epics PV and showed the PV disconnected; If I start epics ioc first, the warning displayed in pcaspy and camonitor still cannot display epics PV and showed PV disconnected. I don't know how to solve the problems. Thanks.
>
> Zhefu
- Replies:
- 答复: Question about epics and pcaspy running in one computer lzf neu
- References:
- Question about epics and pcaspy running in one computer lzf neu
- Re: Question about epics and pcaspy running in one computer Mark Rivers
- 答复: Question about epics and pcaspy running in one computer lzf neu
- Re: Question about epics and pcaspy running in one computer Kasemir, Kay
- Navigate by Date:
- Prev:
Re: Question about epics and pcaspy running in one computer Kasemir, Kay
- Next:
EDM User Manual John Dobbins
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Question about epics and pcaspy running in one computer Kasemir, Kay
- Next:
答复: Question about epics and pcaspy running in one computer lzf neu
- 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
2018
2019
2020
2021
2022
2023
2024
|