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

Subject: RE: EPICS PV for data in Area Detector
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Iain Marcuson <Iain.Marcuson@sydorinstruments.com>, "tech-talk@aps.anl.gov >> EPICS Tech Talk" <tech-talk@aps.anl.gov>
Date: Thu, 4 May 2017 01:51:34 +0000
Hi Iain,

Some questions:

> I note there are no NDArrayCallbacks.

Please explain exactly what you mean by that statement.  What are you observing?

- Is your driver calling doCallbacksGenericPointer()?

- Are ArrayCallbacks enabled in your driver?

- Is the NDPluginStdArrays plugin enabled (EnableCallbacks)?  Is it configured to get its data from your driver?  Are the TimeStamp_RBV and UniqueId_RBV records in NDPluginStdArrays updating?

> When I look at $(P)$(R)ArrayData, it appears to be all zeroes except the first value

How are you looking at $(P)$(R)ArrayData, i.e. with what tool?

Mark


________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Iain Marcuson [Iain.Marcuson@sydorinstruments.com]
Sent: Wednesday, May 03, 2017 3:43 PM
To: tech-talk@aps.anl.gov >> EPICS Tech Talk
Subject: EPICS PV for data in Area Detector

I am trying to transfer pixel values from an Area Detector driver's private variable into an NDArray for viewing with ImageJ.  I have verified that the ImageJ plugin works.  I have also verified that the test data are generated correctly.  My code follows that of the Mythen driver, except with two dimensions instead of one.  I alloc() an NDArray and copy the pixel values over.  I have verified that the pixel values are transferred correctly to the pImage.  I note there are no NDArrayCallbacks.  When I look at $(P)$(R)ArrayData, it appears to be all zeroes except the first value, which appears to increment on both acquisition and "caget $(P)$(R)ArrayData".  What might I be missing?

Thank you,

Iain.

Replies:
RE: EPICS PV for data in Area Detector Iain Marcuson
References:
EPICS PV for data in Area Detector Iain Marcuson

Navigate by Date:
Prev: EPICS PV for data in Area Detector Iain Marcuson
Next: Question about build StreamDevice application lzf neu
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
Navigate by Thread:
Prev: EPICS PV for data in Area Detector Iain Marcuson
Next: RE: EPICS PV for data in Area Detector Iain Marcuson
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
ANJ, 04 May 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·