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: | processCallbacks() never called in areaDetector plugin |
From: | Jonas Nilsson <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 8 Nov 2016 12:28:06 +0000 |
Hi,
I am trying to learn how to write an areaDetector plugin. As a starting point I have tried to use the ”NDStdArrays” plugin and simply switched all the names in the relevant source files to something else so as to not cause a conflict with the existing
NDStdArrays plugin. The problem is that whereas the original NDStdArrays plugin appears to work correctly (ArrayCounter_RBV increases), my version does not appear to do so.
I have put some simple debug messages into all the functions and member functions in the source file and while the plugin appears to initialize correctly, processCallbacks(NDArray *pArray) is never called.
The plugin is enabled (EnableCallbacks_RBV returns ”Enable”) and I can see no error or warning messages when starting iocsh. Does anyone have a good idea on what might be a common beginners problem or how to debug the problem?
Regards,
Jonas
|