Folks,
I have released a new version (R1-9) of the areaDetector module.
The home page is here:
http://cars.uchicago.edu/software/epics/areaDetector.html
The documentation is here:
http://cars.uchicago.edu/software/epics/areaDetectorDoc.html
The release notes are here:
http://cars.uchicago.edu/software/epics/areaDetectorReleaseNotes.html
areaDetector is also available via the APS XOR Subversion repository here:
https://subversion.xor.aps.anl.gov/synApps/areaDetector
These are some of the major items from the release notes:
- NDArray
- Changed some variables that were previously int to size_t. This allows areaDetector to handle arrays with more elements than an int can represent. This is not backwards compatible with some drivers and plugins, because for example, the dims[] argument to NDArrayPool->alloc() has been changed from int to size_t. All drivers and plugins in areaDetector have been modified to reflect this change, but user-written drivers and plugins may need some minor modifications.
- Drivers
- New Andor3 driver for sCMOS (e.g. Neo and Zyla) cameras from Andor. This uses Version 3 of the Andor Software Development Kit (SDK). Orginal version was written by Phillip Sorensen from Cornell University. It runs on 32-bit and 64-bit Linux and 32-bit and 64-bit Windows.
- Bruker, Pilatus, marCCD, and mar345 drivers. The driver lock was not being taken in a few places when the parameter library was being accessed. This could lead to crashes.
- Prosilica driver. Thanks to Jason Abernathy from University of Victoria for these enhancements.
- Implemented connection management. Cameras no longer need to be accessible when the IOC starts up, and can be power-cycled or disconnected and reconnected from the Ethernet without restarting the IOC. If the camera is not accessible when the IOC boots, or is power-cycled then the EPICS output records may not match the actual camera settings and readbacks. They can be made to agree by processing the output record, e.g. by pressing Enter or Return in the medm output widget.
- Added new record PSTimestampType which contains the type of time stamp in the NDArrays. Choices are "NativeTicks", "NativeSeconds","POSIX", and "EPICS". Previously the time stamp was always "NativeTicks".
- Added new record PSResetTimer which resets the time offset for time stamps.
- Plugins
- NDPluginDriver:
- Fixed a bug that could result in plugins being registered for callbacks multiple times.
- Fixed a bug that could result in plugins not running when they should if MinCallbackTime was 0 and the time between callbacks was less than one system clock tick.
- Fixed a bug that could result in plugins not being registered for callbacks when setting EnableCallbacks=1. This problem was restricted to the case where the port and address were not being autoconnected, because no EPICS records were connected to that port and address. Removed incorrect code that was using exceptionDisconnect and exceptionConnect when connecting a plugin to a port and address.
- NDPluginStats: Changes to allow centroid and profile calculations for 1-D arrays.
- NDPluginROI: Added new parameters AutoSize[X,Y,Z]. If these are true then the size of the ROI in that dimension is automatically set to be the size of the input array minus the Min[X,Y,Z] value. This allows the ROI plugin to be used for binning or reversing in that dimension without having to change the ROI Size[X,Y,Z] when the input array size changes.
- NDFileNexus: Changed the version of the Nexus SDK being used from 4-2-1 to version 4-3-0. Modified the files in this distribution to eliminate all compiler warnings on Windows, Linux, and Darwin. Sent these changes back to the Nexus developers, so hopefully they will be in the next Nexus release as well.
- NDFileNetCDF:
- Fixed bug that caused invalid files to be written on big-endian machines, e.g. vxWorks.
- Increased default stack size from epicsThreadStackMedium to epicsThreadStackBig because netCDF needs a relatively large stack and it was crashing on vxWorks.
- NDFileDummy: Added NDFileHDF5Register and NDFileNullRegister, needed for running areaDetector on vxWorks.
- ImageJ Viewer
- Upgraded CAJ from 1.1.5 to 1.1.10, and JCA from 2.3.2 to 2.3.6. This fixes a problem on some platforms (e.g. Windows 7 64-bit) where the display viewer would occasionally stop receiving CA monitor callbacks, and so the display would freeze until the PVs were disconnected and reconnected.
- The previous version of CAJ did not require setting EPICS_CA_MAX_ARRAY_BYTES, because it would increase the receive buffer size to whatever was required. This is no longer true, so EPICS_CA_MAX_ARRAY_BYTES must be set to at least the size of the largest array to be displayed.
- The previous version of CAJ required setting the EPICS Channel Access parameters in a JCALibrary.properties file. The parameters could not be set from the normal environment variables (e.g. EPICS_CA_MAX_ARRAY_BYTES, EPICS_CA_ADDR_LIST, etc.) used by the IOC and C language clients. The new versions of CAJ and JCA now support a Java system property called "jca.use_env". If this is set to "true" then it enables the use of the normal EPICS environment variables. This is very convenient, since there is now a single place to set the CA parameters for IOCs, C clients, and Java clients.
- EPICS_AD_Display now sets "jca.use_env=true" before it initializes CAJ, enabling the use of the normal EPICS environment variables.
- Build system
- Changed the build system so that the use of GraphicsMagick is optional. If the RELEASE file defines USE_GRAPHICSMAGICK=YES then the URL driver and the NDFileMagick plugin will be built. This makes it easy to build without GraphicsMagick, which can be necessary when using compiler versions which are incompatible with the GraphicsMagick libraries included with areaDetector.
- On Windows the TIFF and JPEG support comes from GraphicsMagick DLLs if USE_GRAPHICSMAGICK=YES. To enable the use of TIFF and JPEG when GraphicsMagick is not being used the TIFF and JPEG libraries are now also built from source code in the ADApp/tiffSupport directory on Windows. Which version of the TIFF and JPEG library to link with is chosen in commonDriverMakefile based on the value of USE_GRAPHICSMAGICK.
- Fixes to allow building on Darwin. Thanks to Lewis Muir for these.
- Many minor changes to avoid compiler warnings on Linux, Windows, and Darwin. The only remaining compiler warnings come from imported packages, such as netCDF.
Mark Rivers
CARS
Building 434A
Argonne National Laboratory
9700 South Cass Ave.
Argonne, Il 60439
Phone: 630-252-0422
FAX: 630-252-0436
- Navigate by Date:
- Prev:
Re: Problem building EPICS 3.14.12.3 on Cygwin J. Lewis Muir
- Next:
Micronix motor controller Fairley, Diane M.
- 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
- Navigate by Thread:
- Prev:
Re: Strange Interaction between CA gateway and CAJ Eric Norum
- Next:
RE: areaDetector R1-9 released Mark Rivers
- 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
|