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: Making two computers communicate.
From: Vlad Andrei Rusu <[email protected]>
To: Mark Rivers <[email protected]>
Cc: [email protected]
Date: Tue, 2 Sep 2014 14:37:42 +0300

I managed to get them to work, I set the gateway of the Windows PC to link to Linux, and it works now, but it only eorks one way, Windows can read from Linux but Linux cannot read from Windows for whatever reason.

Thank you for the help!

On 2 Sep 2014 14:17, "Mark Rivers" <[email protected]> wrote:
> and in my mind I just had to modify a variable for CA just to tell EPICS "send data here".

The EPICS client gets the data from EPICS PVs anywhere on the network, and it finds them automatically.  You don't need to configure anything as long as the client and server are on the same subnet.  You do need to make sure that there is only one PV of the same name anywhere on the subnet.

Perhaps you also have a Linux firewall (iptables) running?

Mark

________________________________
From: Vlad Andrei Rusu [[email protected]]
Sent: Tuesday, September 02, 2014 12:49 AM
To: Mark Rivers
Cc: [email protected]
Subject: Re: Making two computers communicate.

Sorry for the late response, I had some email issues last night and I was unable to respond.

Yes, one PC is running Windows x64 and one is running Scientific Linux x64, I have yet to decide which will be the host and which will be the client, I was thinking Linux should be the host and Windows the client but both of the hame the example IOC and example CA client installed.

I was thinking that connecting 2 PCs will be easier, just run the IOC as usual in a command line window ( bash or cmd ) and then make it so MEDM can read the data from the IOC that is running on the other PC through channel acces, and in my mind I just had to modify a variable for CA just to tell EPICS "send data here".

-----------------------------------------------------------------------------
Kind Regards
Rusu Vlad Andrei
T: (+004)0755.052.954
E: [email protected]<mailto:[email protected]>
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania


2014-09-01 16:50 GMT+03:00 Mark Rivers <[email protected]<mailto:[email protected]>>:
Hi,

You should not set any of the EPICS_CA_*ADDR* environment variables for that configuration.  The client and server are on the same subnet, so the default settings are fine.

> I am currently trying to run the IOC on a PC and get the data on another PC,

This is not clear. Is one PC running Windows and the other running Linux?  Which one is producing the data and which one would like to access the data?  Are both of the PCs running an IOC or is one PC running an IOC and the other running some other software that produces the data?  How does the computer that produces the data export that data?  As a socket server, etc.?

Give us some more details and we can provide advice.

Mark


________________________________
From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Vlad Andrei Rusu [[email protected]<mailto:[email protected]>]
Sent: Monday, September 01, 2014 4:33 AM
To: [email protected]<mailto:[email protected]>
Subject: Making two computers communicate.

Hello

I am currently trying to run the IOC on a PC and get the data on another PC, both linked to the same switch. How should I run them? Windows should be the host and Linux the client? Also, to what should I modify the EPICS_CA_ADDR_LIST on the Host and on the Client? Should I make any more modifications?

Thank you in advance
-----------------------------------------------------------------------------
Kind Regards
Rusu Vlad Andrei
T: (+004)0755.052.954
E: [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania


Replies:
RE: Making two computers communicate. Emmanuel Mayssat
References:
Making two computers communicate. Vlad Andrei Rusu
RE: Making two computers communicate. Mark Rivers
Re: Making two computers communicate. Vlad Andrei Rusu
RE: Making two computers communicate. Mark Rivers

Navigate by Date:
Prev: RE: Making two computers communicate. Mark Rivers
Next: RE: Making two computers communicate. 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: Making two computers communicate. Mark Rivers
Next: RE: Making two computers communicate. Emmanuel Mayssat
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 ·