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  2017  2018  <20192020  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  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: AreaDetector Code Not Updating
From: Iain Marcuson via Tech-talk <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
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 <[email protected]>
Sent: Monday, January 21, 2019 12:43 PM
To: Iain Marcuson <[email protected]>
Cc: [email protected]
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: [email protected] <[email protected]> On Behalf Of Iain Marcuson via Tech-talk
Sent: Monday, January 21, 2019 11:34 AM
To: [email protected]
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: [email protected]

 


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  2021  2022  2023  2024 
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  2021  2022  2023  2024