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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: RE: AreaDetector Code Not Updating
From: Iain Marcuson via Tech-talk <tech-talk@aps.anl.gov>
To: Mark Rivers <rivers@cars.uchicago.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 21 Jan 2019 18:42:58 +0000

Indeed, the problem was that I didn’t set EnableCallbacks when I started the IOC.  Running that gets the image to the rest of the chain.  Thank you.

 

From: Mark Rivers <rivers@cars.uchicago.edu>
Sent: Monday, January 21, 2019 12:43 PM
To: Iain Marcuson <iain.marcuson@sydortechnologies.com>
Cc: tech-talk@aps.anl.gov
Subject: RE: AreaDetector Code Not Updating

 

Hi Iain,

 

  • $(P)$(R)ArrayCounter_RBV does not update on taking an image, but there is no error reported for setIntegerParam(NDArrayCounter, imageCounter).  In addition, the NDArraySizeX and Y do not have the correct values. 

 

Which $(P)$(R) are you referring to here?  I assume you mean the one for the NDStdArrays plugin?  That PV does not update when you call setIntegerParam(NDArrayCounter, imageCounter) in your driver.  There are separate PVs for NDArrayCounter in the driver and in each plugin.

 

The problem is probably that the NDStdArrays plugin is not being called.

 

That is most likely for one of the following reasons:

 

  • Your driver is not calling doCallbacksGenericPointer, perhaps because ArrayCallbacks is not enabled.
  • The NDStdArrays plugin is not enabled with the EnableCallbacks PV.

 

Mark

 

 

From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> On Behalf Of Iain Marcuson via Tech-talk
Sent: Monday, January 21, 2019 11:34 AM
To: tech-talk@aps.anl.gov
Subject: AreaDetector Code Not Updating

 

I am writing an AreaDetector driver for hardware we are building.  I am using EPICS Base 3.15.4, AreaDetector git commit f425743d3, and synApps 5.8, with asyn updated to 4-31.  I am basing my code off of code that works for another project, which is ultimately based off of the Mythen driver.  The driver I am writing receives data from the source, but it does not pass this information on via NDStdArrays.  $(P)$(R)ArrayCounter_RBV does not update on taking an image, but there is no error reported for setIntegerParam(NDArrayCounter, imageCounter).  In addition, the NDArraySizeX and Y do not have the correct values.  I can include the driver file if that would be helpful.

 

Thank you,

 

Iain Marcuson

Software Engineer, Sydor Technologies

585.278.1168 | www.SydorTechnologies.com

Skype: Iain.Marcuson@sydortechnologies.com

 


References:
AreaDetector Code Not Updating Iain Marcuson via Tech-talk
RE: AreaDetector Code Not Updating Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: Problem in Stream Out of two 8 bit data Iain Marcuson via Tech-talk
Next: Re: Cable Management Applications Recommendations Dejan Dežman 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  <20192020 
Navigate by Thread:
Prev: RE: AreaDetector Code Not Updating Mark Rivers via Tech-talk
Next: Re: Cable Management Applications Recommendations Dejan Dežman 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  <20192020 
ANJ, 22 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·