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  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  <2026 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  <2026
<== Date ==> <== Thread ==>

Subject: Re: NDPluginFile question
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Jörn Dreyer <j.dreyer at hzdr.de>
Date: Tue, 6 Jan 2026 14:15:07 +0000
Hi Jörn,

What you describe should work.  I have some questions:


Mark



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, January 6, 2026 1:34 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: NDPluginFile question
 
Hello,

I have implemented a new NDPluginFile class for a specialized file format the we need.
Everything works fine besides one strange thing that the last file in a series of captured streams is not closed.
I want to take 100 images, each in a separate file. Therefor I set the # Captures to 1 and set the Mode to Stream.
If I now click Capture, a new file is created for the next image, the Next file # get incremented and the capture finishes.
If I now try to open the file its not yet possible to read it because its not closed yet.
Reading thru the code of NDPluginFile.cpp I believe that the file should be closed by calling closeFileBase which calls closeFile of my derived class.
Is that the expected behavior?

Regards

Jörn

Replies:
Re: NDPluginFile question Jörn Dreyer via Tech-talk
References:
NDPluginFile question Jörn Dreyer via Tech-talk

Navigate by Date:
Prev: NDPluginFile question Jörn Dreyer via Tech-talk
Next: The problem of converting floating-point numbers to 4-byte format (in CDAB order) under StreamDevice 高振华 via Tech-talk
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  <2026
Navigate by Thread:
Prev: NDPluginFile question Jörn Dreyer via Tech-talk
Next: Re: NDPluginFile question Jörn Dreyer via Tech-talk
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  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·