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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: AreaDetector FrameType |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | 'David Vine' <dvine at sigray.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 12 May 2021 16:51:07 +0000 |
Hi David, Ø
But i can't find a description for how to use it in the docs or the code. ADFrameType is used to tell the driver what type of frame to collect: normal, background, flat field, etc. This is mainly used by drivers that can perform the background and/or flat-field corrections in the vendor SDK, often using an FPGA. There appear to be 6 drivers that currently use ADFrameType. This is a list of those drivers determined using “find”. **************** corvette:~/devel/areaDetector>find . -name '*.cpp' -exec grep -H FrameType {} \; ./ADDexela/dexelaApp/src/Dexela.cpp: getIntegerParam(ADFrameType, &frameType); ./ADDexela/dexelaApp/src/Dexela.cpp: setIntegerParam(ADFrameType, ADFrameNormal); ./ADDexela/dexelaApp/src/Dexela.cpp: setIntegerParam(ADFrameType, ADFrameBackground); ./ADDexela/dexelaApp/src/Dexela.cpp: setIntegerParam(ADFrameType, ADFrameFlatField); ./ADBruker/brukerApp/src/BISDetector.cpp: getIntegerParam(ADFrameType, &frameType); ./ADPixirad/pixiradApp/src/pixirad.cpp: status |= setIntegerParam(ADFrameType, FTOneColorLow); ./ADPixirad/pixiradApp/src/pixirad.cpp: getIntegerParam(ADFrameType, &frameType); ./ADPixirad/pixiradApp/src/pixirad.cpp: getIntegerParam(ADFrameType, &frameType); ./ADPixirad/pixiradApp/src/pixirad.cpp: getIntegerParam(ADFrameType, &frameType); ./ADPixirad/pixiradApp/src/pixirad.cpp: } else if ((function == ADFrameType) || ./ADPCO/pcoApp/src/pco.cpp: if (getIntParam(ADFrameType) == ADFrameNormal) // normal ./ADPCO/pcoApp/src/pco.cpp: else if (getIntParam(ADFrameType) == ADFrameBackground) // dark ./ADPCO/pcoApp/src/pco.cpp: else if (getIntParam(ADFrameType) == ADFrameFlatField) // white flood ./ADmarCCD/marCCDApp/src/marCCD.cpp: getIntegerParam(ADFrameType, &frameType); ./ADmarCCD/marCCDApp/src/marCCD.cpp: getIntegerParam(ADFrameType, &frameType); ./ADmarCCD/marCCDApp/src/marCCD.cpp: getIntegerParam(ADFrameType, &frameType); ./ADPhotonII/PhotonIIApp/src/PhotonII.cpp: getIntegerParam(ADFrameType, &frameType); **************** The Dexela and marCCD drivers are probably the best ones to look at. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of David Vine via Tech-talk Hi all, I see the frame type enum definition in ADCore: typedef enum But i can't find a description for how to use it in the docs or the code. Could someone point me to the documentation or an example? Thanks, David This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have
received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please
notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the
contents of this information is strictly prohibited |