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

Subject: Re: Area Detector and Andor
From: Zenon Szalata <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 3 Dec 2014 12:57:53 -0800
Hi Mark,
I have two sub-versions of each version of the AD module, while I am still in the testing mode. One is modified the other is not modified. I showed the contents of lib from the unmodified version. The modified version does not have the libraries in question.
Thanks,
Zen

On 12/03/14 11:29, Mark Rivers wrote:
If you made that modification then libandor.so and libandor.so.2 should not have ended up in ADAndor/lib/linux-x86_64.  Perhaps you did not do a "make uninstall" at the ADAndor top-level after making your change?

Mark


-----Original Message-----
From: Zenon Szalata [mailto:[email protected]]
Sent: Wednesday, December 03, 2014 1:16 PM
To: Mark Rivers; [email protected]
Subject: Re: Area Detector and Andor

Right, that is what I did in the "modified" version of the AD module.
Thanks Mark,
Zen

On 12/03/14 11:09, Mark Rivers wrote:
It sounds like you need to just comment out these lines in ADAndor/andorSupport/Makefile as I have done below:

else ifeq (linux-x86_64, $(findstring linux-x86_64, $(T_A)))
#LIB_INSTALLS_Linux += ../os/linux-x86_64/libandor.so.2
#LIB_INSTALLS_Linux += ../os/linux-x86_64/libandor.so

Then these files will not be installed into ADAndor/lib/linux-x86_64

Mark


-----Original Message-----
From: Zenon Szalata [mailto:[email protected]]
Sent: Wednesday, December 03, 2014 12:59 PM
To: Mark Rivers; [email protected]
Subject: Re: Area Detector and Andor

Hi Mark,
I need to put a bit more effort into understanding what is going on when
I use AD 2.1.
This is the contents of:

zms@esaanal2 $ ll ADAndor/lib/linux-x86_64/
total 5537
drwxr-xr-x 2 mdunning ar    2048 Nov 22 10:33 ./
drwxr-xr-x 3 mdunning ar    2048 Nov  7 20:41 ../
-r--r--r-- 1 mdunning ar 2645945 Nov  7 20:41 libandor.so
-r--r--r-- 1 mdunning ar 2645945 Nov  7 20:41 libandor.so.2
-r--r--r-- 1 mdunning ar  213304 Nov 22 10:33 libandorCCD.a
-r-xr-xr-x 1 mdunning ar  159262 Nov 22 10:33 libandorCCD.so*

Before building the Andor IOC, I remove both libandor.so and
libandor.so.2.  This works for the case of AD 1.8 and 1.9.1.
Anyway, I will dig a bit deeper into the code to see why the AD 2.1 is
not working for us.
BTW, AD 2.1 works fine with our Prosilica cameras.
Thanks,
Zen

On 12/03/14 10:40, Mark Rivers wrote:
Hi Zen,

One more problem remains.  This fix works with AD 1.8 and 1.9.1 but not
with 2.1.
The IOC built with AD 2.1, still exhibits the same problem, all seems to
work except for getting the image data.  I wonder if there is another
level if mismatch between AD 2.1 and our SDK?
I did not change the Andor linux-x86_64 libraries between 1.8 and 2.1.  They are all 2.84.

I did upgrade to 2.98 for the upcoming 2.2 release.

Commenting out the install in the andorSupport directory is fine.  Alternatively I think you can add a line to your Makefile that tells it where to find the libandor.so file, probably andor_DIR=/usr/local or something.

I cannot explain why it would not work for you with 2.1 since I did not update the library, and in any event you should not be installing the library that comes with ADAndor anyway.

What is the contents of ADAndor/lib/linux-x86_64?

Mark


-----Original Message-----
From: Zenon Szalata [mailto:[email protected]]
Sent: Wednesday, December 03, 2014 12:20 PM
To: Mark Rivers; [email protected]
Subject: Area Detector and Andor

Hi Mark,
I returned to our Andor problem and now I mostly understand what is
going wrong.
It turns out that the libandor.so library which comes with the Area
Detector package does not work with our version of the Andor SDK, which
is version 2.94.  Building Area Detector package puts libandor.so in
lib/linux-86_64, the IOC when built, links to the library in Area
Detector, and when started, loads this library and the IOC almost works
with the exception that no image data are received from the camera.
If I remove the libandor.so library from the Area Detector, build my IOC
it links to the libandor.so library in the locally installed SDK
package.  When I start the IOC it loads the SDK library and everything
works; the image data are received from the camera.

Presently we have AD version 1.8, 1.9.1, and 2.1 installed.  I have
modified a Makefile in the andorSupport directory not to install the
andor libraries.  I am not sure if this is the correct way to deal with
our problem.

One more problem remains.  This fix works with AD 1.8 and 1.9.1 but not
with 2.1.
The IOC built with AD 2.1, still exhibits the same problem, all seems to
work except for getting the image data.  I wonder if there is another
level if mismatch between AD 2.1 and our SDK?
Thanks,
Zen


References:
Area Detector and Andor Zenon Szalata
RE: Area Detector and Andor Mark Rivers
Re: Area Detector and Andor Zenon Szalata
RE: Area Detector and Andor Mark Rivers
Re: Area Detector and Andor Zenon Szalata
RE: Area Detector and Andor Mark Rivers

Navigate by Date:
Prev: RE: FW: EPICS 3.15.1 Mooney, Tim M.
Next: DB Build Issue Dudley, David
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Area Detector and Andor Mark Rivers
Next: DB Build Issue Dudley, David
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·