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  <20092010  2011  2012  2013  2014  2015  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: driver support initiialization
From: Matthieu Bec <[email protected]>
To: Patrick Thomas <[email protected]>
Cc: [email protected]
Date: Wed, 22 Jul 2009 00:13:44 -0400
Hi Patrick,

we use a similar technique in the VME world when there's need to pass parameters to drivers, that could be a base address set by h/w jumpers.

Look in the application developers guide for epicsExportRegistrar, iocshFuncDef, iocshArg and the like - that will allow your st.cmd invoke a C routine with user set params from your script.

Matthieu


On 07/21/09 23:51, Patrick Thomas wrote:
Hi,

I have created a device driver to interface with a serial to ethernet
adpater, and I was just wondering if it is possible to send the IP
address and port to the driver at initialization, say through an entry
in the st.cmd file?

Thank you,
Patrick


--
Matthieu Bec              Gemini Observatory
Tel: +56 51 205785        c/o AURA, Casilla 603
Fax: +56 51 205650        La Serena, Chile

References:
driver support initiialization Patrick Thomas

Navigate by Date:
Prev: driver support initiialization Patrick Thomas
Next: Re: cainfo does display host info Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: driver support initiialization Patrick Thomas
Next: RE: driver support initiialization Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·