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: Problems with CA
From: "Williams Jr., Ernest L." <[email protected]>
To: Florian Feldbauer <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 29 Jan 2015 13:09:20 +0000
Hi Florian
Please also list for us the other Channel Access environment variables,   CA uses UDP when searching for PVs.  The default is port 5065.
These CA ENV variables should match both on the server side and the client side

Cheers
Ernest

Sent from my iPhone

> On Jan 29, 2015, at 4:45 AM, Florian Feldbauer <[email protected]> wrote:
> 
> Hey,
> 
> thanks for the answers.
> Unfortunately I did not work:
> 
> Here is what I tried:
> 
> ~ > ifconfig p3p1
> p3p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>        inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
>        inet6 fe80::213:3bff:fe0f:e7bf  prefixlen 64  scopeid 0x20<link>
>        ether 00:13:3b:0f:e7:bf  txqueuelen 1000  (Ethernet)
>        RX packets 39249  bytes 5375914 (5.1 MiB)
>        RX errors 0  dropped 0  overruns 0  frame 0
>        TX packets 192403  bytes 81244106 (77.4 MiB)
>        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> ~ > setenv EPICS_CA_AUTO_ADDR_LIST NO
> ~ > setenv EPICS_CA_ADDR_LIST 192.168.1.255
> ~ > caget -w 20 PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
> Channel connect timed out: 'PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom' not found.
> ~ > setenv EPICS_CA_ADDR_LIST 192.168.1.6
> ~ > caget PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom
> PANDA:LMD:MUPIX:HV:TLSCP:0:Vmom 0.0489747
> 
> 
> p3p1 is the name of the network interface to which all our EPICS IOCs are connected...
> 
>  Florian
> 
> On 01/29/2015 12:58 PM, Mark Rivers wrote:
>>> Is there a way to specify a subnet as address lsit for CA?
>> Yes.
>> 
>> setenv EPICS_CA_AUTO_ADDR_LIST NO
>> setenv EPICS_CA_ADDR_LIST 192.168.1.255
>> 
>> where 192.168.1.255 is the broadcast address of that subnet.  That syntax would be correct if the subnet mask is 255.255.255.0.
>> 
>> Mark
>> 
>> 
>> ________________________________________
>> From: [email protected] [[email protected]] on behalf of Florian Feldbauer [[email protected]]
>> Sent: Thursday, January 29, 2015 3:35 AM
>> To: EPICS Tech Talk
>> Subject: Problems with CA
>> 
>> Hey all,
>> 
>> I have observed some problems with channel access in our lab.
>> We have a PC with three network interfaces.
>> On is connected to the network of our institute (->WAN)
>> the other two are used for local sub nets with its own DNS/DHCP...
>> The used OS on this PC is Fedora 20.
>> 
>> On one of these local sub nets I have a running EPICS IOC.
>> When using caget on the PC I always get a timeout error.
>> Only when I specify the environment variables:
>>      setenv EPICS_CA_AUTO_ADDR_LIST no
>>      setenv EPICS_CA_ADDR_LIST 192.168.1.6
>> caget works.
>> 
>> The IP addresses for the local subnet are dynamically assigned,
>> and I don't want to look up each time, which addresses are used....
>> Also I don't want to put all 256 possible addresses in the
>> EPICS_CA_ADDR_LIST.
>> 
>> Is there a way to specify a subnet as address lsit for CA?
>> Or is it possible to bind all request (from Clients as well as from
>> Servers) on the machine
>> to one specific interface?
>> 
>> Best regards,
>> Florian
>> 
>> 
>> --
>> ----------------------------------------
>> | Dr. Florian Feldbauer                |
>> |                                      |
>> | Helmholtz-Institut Mainz /           |
>> | Johannes Gutenberg-Universität Mainz |
>> | Johann-Joachim-Becher-Weg 36         |
>> | D-55128 Mainz                        |
>> |                                      |
>> | Office: SB1 / 00-213                 |
>> | Phone:  (+49)6131 / 39-29605         |
>> ----------------------------------------
> 
> 
> -- 
> ----------------------------------------
> | Dr. Florian Feldbauer                |
> |                                      |
> | Helmholtz-Institut Mainz /           |
> | Johannes Gutenberg-Universität Mainz |
> | Johann-Joachim-Becher-Weg 36         |
> | D-55128 Mainz                        |
> |                                      |
> | Office: SB1 / 00-213                 |
> | Phone:  (+49)6131 / 39-29605         |
> ----------------------------------------
> 


References:
Problems with CA Florian Feldbauer
RE: Problems with CA Mark Rivers
Re: Problems with CA Florian Feldbauer

Navigate by Date:
Prev: RE: Problems with CA Mark Rivers
Next: RE: Problems with CA 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: Problems with CA Florian Feldbauer
Next: DLS ethercat release 4-1 available ronaldo.mercado
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 ·