Experimental Physics and
| |||||||||||||||||
|
I defined the EPICS_CA_ADDR_LIST=127.0.0.1
And I also tried to change the epics ca port before starting epics ioc and set EPICS_CA_ADDR_LIST= "127.0.0.1:9004 127.0.0.1" then first start epics ioc, then pcaspy, but problem still exists. 发件人: Mark Rivers <[email protected]>
发送时间: 2016年10月14日 14:33:28 收件人: Kasemir, Kay; lzf neu 抄送: [email protected] 主题: RE: Question about epics and pcaspy running in one computer 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
| ||||||||||||||||
ANJ, 14 Oct 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |