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  2016  2017  2018  2019  2020  2021  <20222023  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  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS compilation errors
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, Adrian Martinez <adrian.martinez at orolia.com>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 12 Jul 2022 10:17:24 -0500


On 7/12/22 7:24 AM, Mark Rivers via Tech-talk wrote:
Hi Adrian,

Your parameter library looks fine before iocInit, but after iocInit all of the parameter names have changed to either an empty string "", or "BPM1".

Does your driver implement the drvUserCreate() method?  If so, that gets called during iocInit and perhaps you have an error in that method.  The names of the parameters should not be changing after they are created.

The only parameter whose name has not changed after iocInit is this one:

Parameter 28 type=asynInt32, name=enable_compensation, value=0, status=0

Perhaps that is a clue?

This description implies that some iocsh callable routine probably needs to make a strcpy() of its parameter name string argument, or to change it from iocshArgString to iocshArgPersistentString in the iocshArg definition (which does that for you).

- Andrew

-- 
Complexity comes for free, Simplicity you have to work for.

Replies:
RE: EPICS compilation errors Mark Rivers via Tech-talk
References:
EPICS compilation errors Adrian Martinez via Tech-talk
RE: EPICS compilation errors Mark Rivers via Tech-talk
RE: EPICS compilation errors Adrian Martinez via Tech-talk
Re: EPICS compilation errors Mark Rivers via Tech-talk
RE: EPICS compilation errors Adrian Martinez via Tech-talk
RE: EPICS compilation errors Mark Rivers via Tech-talk
RE: EPICS compilation errors Adrian Martinez via Tech-talk
RE: EPICS compilation errors Adrian Martinez via Tech-talk
Re: EPICS compilation errors Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Issue with Asyn+StreamDevice on a Raspi CM4 Kuldeep Joshi via Tech-talk
Next: Re: Issue with Asyn+StreamDevice on a Raspi CM4 Florian Feldbauer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: EPICS compilation errors Mark Rivers via Tech-talk
Next: RE: EPICS compilation errors Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·