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: Tech-talk Digest, Vol 12, Issue 229 |
From: | "Madden, Timothy J." <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 22 May 2018 17:20:18 +0000 |
RE: AreaDetector 2-5, NDPluginDriver (Madden, Timothy J.)
Problem solved. Sorry to bother y'all. Cut/paste problem in writeInt32, so my plugin was never connecting.
Tim
From: [email protected] <[email protected]> on behalf of [email protected] <[email protected]>
Sent: Tuesday, May 22, 2018 12:00:02 PM To: [email protected] Subject: Tech-talk Digest, Vol 12, Issue 229 Send Tech-talk mailing list submissions to
[email protected] To subscribe or unsubscribe via the World Wide Web, visit https://mailman.aps.anl.gov/mailman/listinfo/tech-talk or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Tech-talk digest..." Today's Topics: 1. AreaDetector 2-5, NDPluginDriver (Madden, Timothy J.) ---------------------------------------------------------------------- Message: 1 Date: Tue, 22 May 2018 15:48:59 +0000 From: "Madden, Timothy J." <[email protected]> To: "[email protected]" <[email protected]> Subject: AreaDetector 2-5, NDPluginDriver Message-ID: <DM5PR0901MB2453F8BEA9157967E95EE99CF6940@DM5PR0901MB2453.namprd09.prod.outlook.com> Content-Type: text/plain; charset="iso-8859-1" Dear Tech Talkers (or Mark): I am rather stuck in writing a plugin for AD, even though I have done about 20 of these. I am inheriting from NDPluginDriver, and the plugin never responds to NDArrays from the driver. The driver is working OK, as other plugins can get arrays from them. I call start() in the plugin constructor to start the plugin threads etc. The IOC console gives on startup: 2018/05/22 10:35:24.570 NDPluginDriver::start timeout waiting for plugin thread start event So it looks like the plugin is never starting up. Why would this happen? How to debug it? Very strange. Never seen this one before. I have been hacking on this for awhile. Is there a way to ask a driver how may plugins are waiting for NDArrays? Or to list listening plugins with something like asynReport? I stepped through the code with debugger, and I don't think my plugin is in the list of pClients the driver uses to pass arrays. Also, I have seen other plugins like the FFT plugin, that do not call start(), but I assume they work. Am I supposed to call start? I have another plugin that only works if I call start. Frustrated, Tim Madden -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180522/24211f61/attachment.html> ------------------------------ _______________________________________________ Tech-talk mailing list [email protected] https://mailman.aps.anl.gov/mailman/listinfo/tech-talk End of Tech-talk Digest, Vol 12, Issue 229 ****************************************** |