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

Subject: Increment array counter for NDFileModeSingle
From: Hinko Kocevar <hinkocevar@gmail.com>
To: tech-talk@aps.anl.gov
Date: Wed, 18 Mar 2015 15:26:18 +0100
Hi,

In areaDetector NDPluginFile I noticed that the array count is incremented only if autosave is active (if in Single mode). This means that by clicking ‘Save’ button the array counter is not incremented. Is there a reason for this?

See https://github.com/areaDetector/ADCore/blob/master/ADApp/pluginSrc/NDPluginFile.cpp#L708.

By moving arrayCounter++ before the if() would a way to have array counter incremented even if autosave is not active.

Best regards,
Hinko

Replies:
RE: Increment array counter for NDFileModeSingle Mark Rivers

Navigate by Date:
Prev: Re: Text input to char waveform - bug? Hinko Kocevar
Next: RE: Increment array counter for NDFileModeSingle Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: CSS - how to read waveform of CHARS (or STRINGS) in a script? - SOLVED Isabella Rey
Next: RE: Increment array counter for NDFileModeSingle Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·