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: Writing array data in an AreaDetector application
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Iain Marcuson <iain.marcuson at sydortechnologies.com>, Ralph Lange <ralph.lange at gmx.de>, EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 1 May 2025 17:55:47 +0000

The problem is in your constructor.  When you call the base class constructor you give it a bit mask of what interfaces to implement.  You need to add asynFloat64Array to that.

 

Here is an example of a driver that does that:

https://github.com/areaDetector/NDDriverStdArrays/blob/e21b2f2f74feb217a0e67ba8f8fc4bfd7efe58e0/NDDriverStdArraysApp/src/NDDriverStdArrays.cpp#L49

 

Mark

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Iain Marcuson via Tech-talk
Sent: Thursday, May 1, 2025 12:48 PM
To: Ralph Lange <ralph.lange at gmx.de>; EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: RE: Writing array data in an AreaDetector application

 

I do see a message I had overlooked before:

devAsynFloat64Array::initCommon, 13PIL1:cam1:PADDigiCorr find asynFloat64Array interface failed

 

I think I have the function names and signatures right, from looking at file asynPortDriver.h, if that is what you mean.

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Ralph Lange via Tech-talk
Sent: Thursday, May 01, 2025 12:54 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Writing array data in an AreaDetector application

 

Hi Iain,

 

Looking at the documentation [1] and your record, it all seems fine.

The waveform record type was created as an input - that's why the configuration field is INP. Unrelated to your problem.

 

It's most probably a code issue. Is your additional method properly declared in the class declaration, so that the default implementation of the method is overridden?

 

Cheers,
~Ralph

 

 

Click here to report this email as spam.

 

This message has been scanned for malware by Forcepoint. www.forcepoint.com


Replies:
RE: Writing array data in an AreaDetector application Iain Marcuson via Tech-talk
References:
Writing array data in an AreaDetector application Iain Marcuson via Tech-talk
Re: Writing array data in an AreaDetector application Ralph Lange via Tech-talk
RE: Writing array data in an AreaDetector application Iain Marcuson via Tech-talk

Navigate by Date:
Prev: RE: Writing array data in an AreaDetector application Iain Marcuson via Tech-talk
Next: RE: Writing array data in an AreaDetector application Iain Marcuson 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: Writing array data in an AreaDetector application Iain Marcuson via Tech-talk
Next: RE: Writing array data in an AreaDetector application Iain Marcuson 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, 01 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·