EPICS Home

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

Subject: AreaDetector: using attributes to set file number
From: Emma Shepherd <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 18 Oct 2013 03:29:48 +0000
Hi Mark, tech-talk folk,

I have a detector which occasionally skips frames, and I would like the file saving plugin to skip the corresponding files so that the actual frame numbers embedded in the image data match the file names.  After reading the docs I figured I should be able to use the special attribute "FilePluginFileNumber" to do this, so I modified my driver to set this attribute in the NDArray attribute list.

So far so good, but I found when I tried it that the NDFileTiff plugin ignored it because the boolean 'useAttrFilePrefix' is false.  As far as I can see, this is only set to true for capture mode (which I'm not using), and only then when the "FilePluginFileName" attribute is also set.  Am I missing something about how this is supposed to work, or is this kind of a new way of using this feature?  I think if possible it would be good to have two independent parameters (settable via records) to specify whether the two special attributes are used to create the file name.

By the way, I am using AreaDetector 1-9-1.

Thanks,
Emma





Navigate by Date:
Prev: RE: epicsEvents Mark Rivers
Next: Re: How to Read Multiple Values using StreamDevice with array_in Yasemin Barutçu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: sequencer release 2.1.15 Benjamin Franksen
Next: Proper initialisation of Motor Record .RMP value Peter Linardakis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024