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  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Area Detector question
From: Mark Rivers <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 26 Apr 2016 14:18:38 +0000
One item on my to-do list for areaDetector is to add 2 new plugins:

- NDPluginFanOut  This plugin would have a list of clients that are registered for callbacks, as all plugins currently do.  However, rather than passing each new NDArray to all registered callbacks, it would only send each NDArray to a single registered callback.  This would provide a means to have multiple plugins "sharing" the work load, each in its own thread/core.

- NDPluginFanIn  This plugin would register for callbacks from multiple data sources (drivers, other plugins) and merge the NDarrays into a single stream.  One question is whether it should attempt to do any reordering, i.e. attempt to output the arrays in order of their UniqueID.  

NDPluginFanIn could be used for the task you asked about.

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Tuesday, April 26, 2016 2:27 AM
To: [email protected]; [email protected]
Subject: RE: Area Detector question

Hi Jörn,

It is not currently possible to do that. The areaDetector plugins and drivers can produce data to multiple consumers (fan-out) but the plugins can only listen to a single consumer - there is no option to "fan-in".

The HDF5 file writer plugin does have a feature which allows writing NDArrays to multiple datasets with the redirection based on dataset names attached to the individual NDArrays as NDAttributes. So we could possibly make it work if we had a "fan-in" plugin which could listen to multiple sources of data and output a single, merged stream of NDArrays... This would be a rather unique plugin and I'm not entirely sure what complications may crop up...

A much simpler alternative is to write a file per camera and have a top-level file which ties everything together using HDF5 "external links". If multiple datasets should appear as a single dataset then the new HDF5 1.10.0 Virtual Dataset feature could be used to give a single dataset view.

https://www.hdfgroup.org/HDF5/doc/RM/RM_H5L.html

https://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesVirtualDatasetDocs.html

Cheers,
Ulrik

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jörn Wüstenfeld
Sent: 26 April 2016 07:30
To: tech-talk tech-talk
Subject: Area Detector question

Hello,

after I have succesfully read a single Basler camera and stored the data in an
HDF5 file, I now want to read out more cameras on the same IOC and store the data together in one file. Is that Possible?

Or can one setup another IOC that collects the data from several IOC's and stores them in one file?

Regards
Jörn




--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom




Replies:
asyn: what if a driver wants to force callbacks? Ford, Christopher
References:
Area Detector question Jörn Wüstenfeld
RE: Area Detector question ulrik.pedersen

Navigate by Date:
Prev: Re: EPICS_TIMEZONE and TZ on RTEMS Michael Davidsaver
Next: Re: EPICS 3.14.12.3 Build Problems with the new Ubuntu 16.04 LTS Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Area Detector question ulrik.pedersen
Next: asyn: what if a driver wants to force callbacks? Ford, Christopher
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·