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  2022  <20232024  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  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Bug in ADPICam driver found.
From: Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 03 May 2023 10:37:00 +0200
Hi,

while trying to get the PICAM driver working under Ubuntu I encountered a bug 
in the code of piAcquireStart. in line 1772ff (asynPrintf) of ADPICam.cpp
there is a parameter type mismatch:

asynPrint(pasynUserSelf, ASYN_TRACE_ERROR,
                "%s:%s Error Setting accquisition buffer with size %d: %s\n",
                driverName,
                functionName,
                errorString,
                buffer_.size());

errorString is not a decimal. The code should be:

asynPrint(pasynUserSelf, ASYN_TRACE_ERROR,
                "%s:%s Error Setting accquisition buffer with size %d: %s\n",
                driverName,
                functionName,
                buffer_.size(),
                errorString);

Regards,
Jörn



Navigate by Date:
Prev: Does anyone have documented PV Access run time ENV variables? Kim, Kuktae via Tech-talk
Next: Re: Does anyone have documented PV Access run time ENV variables? Timo Korhonen 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  2022  <20232024 
Navigate by Thread:
Prev: Re: Does anyone have documented PV Access run time ENV variables? Michael Davidsaver via Tech-talk
Next: Re: EPICS support for the Omega Platinum Series PID Controllers Michael Davidsaver 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  2022  <20232024 
ANJ, 05 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·