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: "Pearson, Matthew R." <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected] list" <[email protected]>
Date: Tue, 26 Apr 2016 13:22:17 +0000
Hi,

It’s possible to ‘re-wire’ plugins at run time though, so you could have two camera drivers in the same IOC that share the same set of plugins. Once one camera has acquired and written the data into the HDF5 file, the first plugin in the chain could be re-directed to point to the other camera, then that camera acquires its data and it can be written into the same HDF5 file. This should work as long as you can acquire the images in sequence.

That’s certainly possible with the file plugins that write standalone files. I’m not sure if there’s a complication if the size of the dataset (or the NDAttributeList) changes before closing the HDF5 file.

Cheers,
Matt

Data Acquisition and Control Engineer
Spallation Neutron Source
Oak Ridge National Lab





> On Apr 26, 2016, at 3:29 AM, [email protected] wrote:
> 
> Correction. Should have been:  "plugins can only listen to a single producer" 
> 
> -----Original Message-----
> From: Pedersen, Ulrik (DLSLtd,RAL,TEC) 
> Sent: 26 April 2016 08:27
> To: 'Jörn Wüstenfeld'; tech-talk tech-talk
> 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:
RE: Area Detector question ulrik.pedersen
References:
Area Detector question Jörn Wüstenfeld
RE: Area Detector question ulrik.pedersen
RE: Area Detector question ulrik.pedersen

Navigate by Date:
Prev: Re: Area Detector question bob dalesio
Next: Re: Generating log output from areaDetector IOC Phil Atkin
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: RE: Area Detector question ulrik.pedersen
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 ·