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
******************************************