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  2023  2024  <2025 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  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: RE: AreaDetector Driver for device that sends back 3 synchronized frames
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Pearson, Matthew" <pearsonmr at ornl.gov>, "Daykin, Evan" <daykin at frib.msu.edu>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 9 Jun 2025 21:58:24 +0000

Hi Evan,

 

I agree with Matt’s suggestion.

 

Here are some drivers and plugins that do callbacks with NDArray data to more than one address:

 

https://github.com/areaDetector/ADEiger/blob/2c102cabf6c1eb335b575352dbbdd2a695661da1/eigerApp/src/eigerDetector.cpp#L1833

https://github.com/areaDetector/ADCore/blob/0d264c33cd2e1e83dc6070a974f2b5e3a059ea48/ADApp/pluginSrc/NDPluginTimeSeries.cpp#L382

https://github.com/areaDetector/ADCore/blob/0d264c33cd2e1e83dc6070a974f2b5e3a059ea48/ADApp/pluginSrc/NDPluginAttribute.cpp#L108

https://github.com/areaDetector/ADCore/blob/0d264c33cd2e1e83dc6070a974f2b5e3a059ea48/ADApp/pluginSrc/NDPluginStats.cpp#L578

https://github.com/areaDetector/ADCSimDetector/blob/c514cc353436be8fe4ebf3158244434f49febdfa/ADCSimDetectorApp/src/ADCSimDetector.cpp#L328

https://github.com/epics-modules/quadEM/blob/f5ab1e97fd71d3c83421d856a1c8b1d9b8406f9d/quadEMApp/src/drvQuadEM.cpp#L326

 

Mark

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Pearson, Matthew via Tech-talk
Sent: Monday, June 9, 2025 3:25 PM
To: Daykin, Evan <daykin at frib.msu.edu>; EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: RE: AreaDetector Driver for device that sends back 3 synchronized frames

 

Hi Evan,

 

I assume you’d be handling/saving each array separately? If so, one way to handle this is to use different Asyn addresses for the output NDArray callbacks. So you would have a single driver that gets the 3 images, and then output the RGB image NDArray on addr=0, the IR image NDArray on addr=1 and the depth image NDArrray on addr=2. Each NDArray type would use a different dims[] size and datatype. Then you can have 3 separate plugin chains to handle the NDArray processing, with the 1st plugin in each chain listening to a different Asyn address.

 

Cheers,

Matt

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Daykin, Evan via Tech-talk
Sent: Monday, June 9, 2025 4:08 PM
To: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] AreaDetector Driver for device that sends back 3 synchronized frames

 

Hi, I am looking to create an AD Driver for Microsoft Kinect v2. The open-source device driver libfreenect2, uses a Synchronized multi-frame listener that awaits the receipt of an RGB image (1920x1080x3 int), an IR image (512x424 float), and

 

Hi,

 

I am looking to create an AD Driver for Microsoft Kinect v2. The open-source device driver libfreenect2, uses a Synchronized multi-frame listener that awaits the receipt of an RGB image (1920x1080x3 int), an IR image (512x424 float), and a depth image (512x424 float). I would like suggestions for the best way to handle this. My first thought is to have three separate ‘sub’-detector drivers and dole out each frame from the main driver according to its type. Are there any existing device support modules that do something similar?

 

Thanks!

-Evan

 

 

 


References:
AreaDetector Driver for device that sends back 3 synchronized frames Daykin, Evan via Tech-talk
RE: AreaDetector Driver for device that sends back 3 synchronized frames Pearson, Matthew via Tech-talk

Navigate by Date:
Prev: RE: AreaDetector Driver for device that sends back 3 synchronized frames Pearson, Matthew via Tech-talk
Next: Re: PVXS programmatically create pvalinks 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  2023  2024  <2025
Navigate by Thread:
Prev: RE: AreaDetector Driver for device that sends back 3 synchronized frames Pearson, Matthew via Tech-talk
Next: Update IOC with pushed data Dave Bracey 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  2023  2024  <2025
ANJ, 10 Jun 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·