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

Subject: Re: how to choose port of digitizer for IOC?
From: Ana Malagon <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 20 Jan 2015 09:40:53 -0800
Thanks Mark! I'll look into socket server code for the redpitaya and see how that goes.

Ana

On Mon, Jan 19, 2015 at 11:14 AM, Mark Rivers <[email protected]> wrote:

Hi Ana,

 

I just looked at the redpitaya Web site.  It is a standalone card running Linux.  I think you have 2 choices to use it with EPICS:

 

1) Run the EPICS IOC on the redpitaya itself using their C++ interface to talk to the hardware

2) Write a socket server runs on the redpitaya that listens for commands from a remote EPICS system to control the hardware

 

Perhaps someone else has already written a socket server?

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Mark Rivers
Sent: Monday, January 19, 2015 1:07 PM
To: 'Ana Malagon'; [email protected]
Subject: RE: how to choose port of digitizer for IOC?

 

Hi Ana,

 

When you ssh to the device you are implicitly using port 22. 

 

You don’t want to use port 5064, that is for EPICS TCP messages, not for communicating with the device.

 

How does the vendor describe how to communicate with the device?  Only with ssh?  Or do they support simple TCP messages using another port?  If ssh then that would require your driver to implement the ssh protocol to talk to it on port 22, which would not be trivial I think.

 

When you ssh into the device what types of things can you do?

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Ana Malagon
Sent: Monday, January 19, 2015 12:56 PM
To: [email protected]
Subject: how to choose port of digitizer for IOC?

 

Hi,

 

I'm trying to make an IOC for a digitizer, the redpitaya. I've assigned it a static IP address and can successfully ssh to it, doing

 

 

However, there doesn't seem to be a specific port I should use in connecting to it - as least I see no mention of it in the documentation. I've tried using the "default" port numbers 5064,5065 in my st.cmd file, but both options give the

 

Can't connect to 10.95.101.75:5064: No route to host L0 -1 autoConnect could not connect

error message. I also get this warning

cas warning: Configured TCP port was unavailable.

cas warning: Using dynamically assigned TCP port 33122,

cas warning: but now two or more servers share the same UDP port.

cas warning: Depending on your IP kernel this server may not be

cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)

but I've seen this with other IOCs for other devices, and those IOCs still work, so I'm assuming these warnings are not the fundamental issue.

Does anyone know what other ports I should try or should I instead try to reconfigure the redpitaya and assign it a port as well?

Thanks,

Ana Malagon

 

 



References:
how to choose port of digitizer for IOC? Ana Malagon
RE: how to choose port of digitizer for IOC? Mark Rivers
RE: how to choose port of digitizer for IOC? Mark Rivers

Navigate by Date:
Prev: Re: sequencer release 2.1.18 Benjamin Franksen
Next: RE: Alarm annunciation with ALH and other PC based systems Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: how to choose port of digitizer for IOC? Mark Rivers
Next: Waveform initialization Henrique Almeida
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·