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  <20142015  2016  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: New users - Channel Access Clients issues
From: "Martin L. Smith" <[email protected]>
To: <[email protected]>
Date: Tue, 19 Aug 2014 08:27:20 -0500
Hi Bertrand,

I assume you are using the EPICS_CA_ADDR_LIST and EPICS_CA_AUTO_ADDR_LIST
because your CA client is not running on the same network as the IOC.

I think that if you do not have a firewall between your networks but there
is in fact a network route through a router then the above environment
variables should take care of the CA client side connections but the IOC
must know how to send information back to the client.

For that you will likely need to have similar environment variables set in
the IOC st.cmd file. Otherwise you could run a PV gateway between the networks.

Also if you have EPICS_CA_AUTO_ADDR_LIST=YES then you likely do not need to
have the broadcast address 192.168.163.255 in your EPICS_CA_ADDR_LIST; however,
you might need to specifically include the IP address of the router for both
the CA client as well as the IOC.

Marty

On 08/19/2014 08:07 AM, Bertrand de Boisdeffre wrote:
Dear EPICS users,

We installed Epics base 3.14.12.3 on a computer using Scientific Linux.

Then we managed to create, build and run the IOC example application included
with the EPICS base.

Now, we would like to create one CAClient to access the PV.

Then we configured the /etc/profile file and added the necessary lines:

EPICS_HOST_ARCH="linux-x86_64"

export EPICS_HOST_ARCH

EPICS_BASE=/opt/epics/base-3.14.12.3

export EPICS_BASE

PATH=$PATH:/opt/epics/base-3.14.12.3/bin/linux-x86_64

EPICS_CA_AUTO_ADDR_LIST=YES (tried this too, but it did not work)

export EPICS_CA_AUTO_ADDR_LIST

EPICS_CA_ADDR_LIST="192.168.163.97 192.168.163.255"

export EPICS_CA_ADDR_LIST

and we am unable to reach any PV in the example app included in Epics.

We am running the example app by running st.cmd in terminal, we can see the PVs
inside Iocshell but when I try to connect the PV to a graphical text monitor in
MEDM, the Graphical Object is not connected to the PV inside the IOC.

PV Info inside MEDM says:

TYPE: TYPENOTCONN

HOST: <disconnected>

The PV name is correct, we think: rootHost:ai1.VAL and tried
rootHost:aiExample1.VAL and they are not receiving any values from the IOC.

When we try to run caExample we get the following errors:

[root@Epics O.linux-x86_64]# ./caExample rootHost:ai1.VAL

CA.Client.Exception...............................................

     Warning: "User specified timeout on IO operation expired"

     Context: "ca_pend_io failure"

     Source File: ../caExample.c line 20

     Current Time: Tue Aug 19 2014 14:54:46.378283619

..................................................................

CA.Client.Exception...............................................

     Warning: "Virtual circuit disconnect"

     Context: "ca_get failure"

     Source File: ../caExample.c line 21

     Current Time: Tue Aug 19 2014 14:54:46.378688325

..................................................................

CA.Client.Exception...............................................

     Warning: "User specified timeout on IO operation expired"

     Context: "ca_pend_io failure"

     Source File: ../caExample.c line 22

     Current Time: Tue Aug 19 2014 14:54:51.378812388

..................................................................

rootHost:ai1.VAL 0.000000

We thank you in advance for your support.

Best regards,

------------------------------

Bertrand DE BOISDEFFRE & Vlad RUSU

ELI-NP, Horia Hulubei National Institute for Physics and Nuclear Engineering

30 Reactorului Street,

077125 Magurele, Romania

+4021 404 50 89 / 021 404 50 89

www.eli-np.ro <http://www.eli-np.ro/>



Replies:
RE: New users - Channel Access Clients issues Mark Rivers
References:
New users - Channel Access Clients issues Bertrand de Boisdeffre

Navigate by Date:
Prev: Re: New users - Channel Access Clients issues Vlad Andrei Rusu
Next: RE: New users - Channel Access Clients issues Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: New users - Channel Access Clients issues Vlad Andrei Rusu
Next: RE: New users - Channel Access Clients issues Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·