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: pilatus file format setting..
From: Mark Rivers <[email protected]>
To: mujin park <[email protected]>, "[email protected]" <[email protected]>
Date: Sat, 13 Feb 2016 14:15:35 +0000
Hi Mujin,

The algorithm that camserver uses for naming files collected when NumImages>1 is explained in the documentation here:

http://cars.uchicago.edu/software/epics/pilatusDoc.html#StandardNotes

This is the explanation in that documentation:

****************************************************************
camserver uses the file extension to determine what format to save the files in. The areaDetector Pilatus driver only supports TIFF and CBF files, so the extension should be .tif or .cbf. When saving multiple images (NImages>1) camserver has its own rules for creating the names of the individual files. The rules are as follows. The name constructed using the algorithm described for NDFileTemplate under File Saving Parameters<http://cars.uchicago.edu/software/epics/areaDetectorDoc.html#asynNDArrayDriver> is used as a basename. The following examples show the interpretation of the basename.

Basename            Files produced

test6.tif           test6_00000.tif,  test6_00001.tif, ...
test6_.tif          test6_00000.tif,  test6_00001.tif, ...
test6_000.tif       test6_000.tif,    test6_001.tif, ...
test6_014.tif       test6_014.tif,    test6_015.tif, ...
test6_0008.tif      test6_0008.tif,   test6_0009.tif, ...
test6_2_0035.tif    test6_2_0035.tif, test6_2_0036.tif, ...


The numbers following the last '_' are taken as a format template, and as a start value. The minimum format is 3; there is no maximum; the default is 5. The format is also constrained by the requested number of images.

****************************************************************

> i'd like to  make start filename like 'test_00001.cbf'

Then change your template from:

%s%s.cbf

to

%s%s_00001.cbf

Then the first file will be _00001, then _00002, etc.

Mark




________________________________
From: [email protected] [[email protected]] on behalf of mujin park [[email protected]]
Sent: Saturday, February 13, 2016 7:13 AM
To: [email protected]
Subject: pilatus file format setting..

Hello..

i use pilatus detector.adl...

but i will set file format.. %s%s.cbf..

the first filename is like this ...test_00000.cbf

i'd like to  make start filename like 'test_00001.cbf'

how can i make?

i am modifying the mxdc  in adsc q315 (from q315r to pilatus)

the pilatus detector is very fast. when the pilatus makes the files, the mxdc will recognize these files...

Maybe, Have the pilatus a informing function?

Could you tell me how can i setup the pilatus in mxdc..

i don't know to collecting algorithm by the pilatus detector .( updating image..fast made images)

please, let me know that...

Best Regards

mujin.






References:
pilatus file format setting.. mujin park

Navigate by Date:
Prev: pilatus file format setting.. mujin park
Next: Math on Wavefrom PV in CSS Miroslav Gabriel
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: pilatus file format setting.. mujin park
Next: Math on Wavefrom PV in CSS Miroslav Gabriel
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 ·