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  2015  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: question about pcaspy
From: "Kasemir, Kay" <[email protected]>
To: geyang <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 29 Aug 2016 12:45:07 +0000
Hi:

If you want to run multiple copies of the pcaspy CA server on one computer, it’s really the same as running multiple soft IOCs on the same computer.
You don’t need to change any port settings.
All copies of the CA server on the host will listen to UDP name searches on the default UDP port.
They cannot all use the same default TCP port, so except for the first server that you start you’ll see the warning messages “css warning: Configured TCP port was unavailable. Using dynamically assigned ..” but that’s not a problem.

What happens on the protocol level:
Clients search for a channel.
CAS replies: I have that channel, talk to me on TCP port xxxxxx.
For the first CAS that you start, that TCP port is the default, for the rest it’s a different port.
Doesn’t matter, the easiest way to configure this is still to leave EPICS_CAS_SERVER_PORT undefined since the clients will find all your IOCs just fine.


-Kay

On Aug 27, 2016, at 8:45 PM, geyang <[email protected]> wrote:

hi, 

  I would like to ask if  SimpleServer's port can be changed to others in code, such as 5066/5068? For example, I have a device driver written by pcaspy, I want to implement the same driver for many same type devices on one machine, then I need to set them different server ports.
  thanks a lot for your help.


Best wishes
Geyang 2016/8/28



 


Replies:
RE: question about pcaspy Mark Rivers
References:
question about pcaspy geyang

Navigate by Date:
Prev: 回复: Re: question about pcaspy Silver
Next: RE: question about pcaspy Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: 回复: Re: question about pcaspy Wang Xiaoqiang
Next: RE: question about pcaspy Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 29 Aug 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·