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: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Cc: Vlad Andrei Rusu <[email protected]>
Date: Tue, 02 Sep 2014 09:26:19 +0200
As Mark wrote: If both machines are on the same network, this should work without setting any EPICS environment variables.
Make sure that communication is not blocked by firewalls on your machines.
Note also that your otherwise identical example IOCs must use different names for the records - channel names within a Channel Access realm must be unique.

The easiest way to check Channel Access communication is using the command line tools (CA clients) that are part of base: caput, caget, camonitor, cainfo. They are available on Windows and Linux, so you can use any machine as client.

Good luck,
~Ralph


On 02/09/2014 07:49, Vlad Andrei Rusu wrote:
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
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania


2014-09-01 16:50 GMT+03:00 Mark Rivers <[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] [[email protected]] on behalf of Vlad Andrei Rusu [[email protected]]
Sent: Monday, September 01, 2014 4:33 AM
To: [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]>
A: Calea Ferentari 16 Bl.124A Ap.5 Sector 5, Bucharest, Romania



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

Navigate by Date:
Prev: Re: Making two computers communicate. Vlad Andrei Rusu
Next: Re: Making two computers communicate. Vlad Andrei Rusu
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. Vlad Andrei Rusu
Next: Re: Making two computers communicate. Vlad Andrei Rusu
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 ·