EPICS Home

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  2016  <20172018  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Configuring multiple ports with variable port numbers for StreamDevice
From: Jonathan Takahashi <[email protected]>
To: [email protected]
Date: Mon, 29 May 2017 17:43:39 -0400
Hello, total EPICS newbie here... I have a device that communicates via IP ports and is always initialized on port 3000.  When I send an initialization message on that port it returns three new port numbers in a string and sends different types of information over each.  The returned port numbers can vary each time communication is established.  What is the best way to initialize this device?  All the examples I have looked at have only one port initialized in st.cmd using drvAsynIPPortConfigure.

I was thinking I could initialize port 3000 in st.cmd, make a record that passes the initialization command via a stream record, link the output to a scalcout record that parses the string and sends the port number to several subroutine records that initialize the new ports... however that seems complicated and I wanted to ask if there is a better way or if this method would work at all.

Replies:
RE: Configuring multiple ports with variable port numbers for StreamDevice Mark Rivers

Navigate by Date:
Prev: RE: epicsqt Siddons, David
Next: RE: Configuring multiple ports with variable port numbers for StreamDevice 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  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: epicsqt Siddons, David
Next: RE: Configuring multiple ports with variable port numbers for StreamDevice 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  2016  <20172018  2019  2020  2021  2022  2023  2024