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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: New users - Channel Access Clients issues |
From: | Vlad Andrei Rusu <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Tue, 19 Aug 2014 16:24:37 +0300 |
Hi Bertrand,
This sounds like it could be a firewall problem. Is the iptables firewall running on your system? If so, see if turning it off fixes the problem:
sudo /etc/init.d/iptables stop
If that is the problem and if you want to run the firewall then you will need to create rules to allow Channel Access through the firewall.
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Bertrand de Boisdeffre [[email protected]]
Sent: Tuesday, August 19, 2014 8:07 AM
To: [email protected]
Cc: 'Vlad Andrei Rusu'
Subject: New users - Channel Access Clients issues
www.eli-np.ro<http://www.eli-np.ro/>
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