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  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] updating ADAndor from RHEL6 to RHEL7
From: Hinko Kocevar via Tech-talk <tech-talk@aps.anl.gov>
To: "Pearson, Matthew R." <pearsonmr@ornl.gov>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 12 Jul 2019 12:01:18 +0000
Hi Matt,

glad to hear you got it working!

For shamrock, the libshamrockcif.so exists in the ADAndor 'andorSupport/os/linux-x86_64' folder.

Adndor did change something, though as I had some issues with getting that one to work also. I've made some notes on the subject, and you can find them at the end of the introduction chapter at https://cars.uchicago.edu/software/epics/andorDoc.html. In short you need to worry about the libUSBI2C.so and  ibd2xx_table.so (or at least that was the missing bit for me).

Cheers,
Hinko
________________________________________
From: Pearson, Matthew R. <pearsonmr@ornl.gov>
Sent: Wednesday, July 10, 2019 9:08:42 PM
To: Hinko Kocevar
Cc: tech-talk@aps.anl.gov
Subject: Re: [EXTERNAL] updating ADAndor from RHEL6 to RHEL7

Hi,

Thanks. I got the iKon camera working with the latest ADAndor 2-8 release, using SDK version 2.102 (the version packaged with ADAndor).

The initial problem I had with the old SDK was that the udev rules didn’t work on RHEL7, so the USB device had the wrong permissions. So I updated to the latest SDK from Andor (2.103). That fixed the udev rules, but the older SDK libraries in ADAndor generated a seg fault. Then I updated to ADAndor 2-8, and used SDK 2.102, and that seems to work fine.

I also tried manually updating the older ADAndor with the newer SDK libraries from 2.103, but there seemed to be an incompatibility with the older shamrock libraries also in ADAndor. Presumably the shamrock libraries are distributed via a different SDK from Andor?

I haven’t seen any issues restarting the IOC yet.

I’ll do more testing, and also update ADCore to 3.X, since I’m using an older 2-6 version.

Cheers,
Matt

Data Acquisition and Controls Engineer
Spallation Neutron Source
Oak Ridge National Lab


> On Jul 9, 2019, at 2:30 PM, Hinko Kocevar <Hinko.Kocevar@esss.se> wrote:
>
> Hi Matt,
>
> we at ESS have been using 2.102 (IIRC I added that one to the ADAndor) with USB2.0 based Newton, iDus and Luca cameras for some time now. Our Linux flavor is CentOS7 which might be similar to RHEL7.
>
> I did have quite some trouble getting the cameras to be detected by the Andor SDK, after the IOC would be killed. The Andor SDK would leave behind a shm object that would not get removed by the SDK in that case which resulted in subsequent IOC restarts to fail to detect the camera (until Linux OS would be rebooted). I did find a way to solve the issue by removing the offending lingering shm object using ipcrm tool, prior to starting on IOC.
>
> I can provide more details about the CentOS7 kernel and system config if you need.
>
> Cheers,
> //hinko
> ________________________________________
> From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of Pearson, Matthew R. via Tech-talk <tech-talk@aps.anl.gov>
> Sent: Tuesday, July 9, 2019 12:52:58 AM
> To: tech-talk@aps.anl.gov Talk
> Subject: updating ADAndor from RHEL6 to RHEL7
>
> Hi,
>
> Has anyone experience updating the ADAndor support from RHEL6 to RHEL7?
>
> We have an Andor iKon-M (USB2.0 based), that we used with ADAndor on RHEL6 using SDK 2 version 2.93 (locally installed, not using the version distributed with ADAndor).
>
> The same SDK version doesn’t seem to work on RHEL7. I can send details if anyone is interested. It may just be too old though.
>
> There are two more modern SDK versions currently distributed with ADAndor (at least, the shared libraries). Is anyone using either of these versions (2.99 and 2.102) on RHEL7?
>
> Cheers,
> Matt
>
>
> Data Acquisition and Controls Engineer
> Spallation Neutron Source
> Oak Ridge National Lab
>
>
>
>
>
>
>


References:
updating ADAndor from RHEL6 to RHEL7 Pearson, Matthew R. via Tech-talk
Re: updating ADAndor from RHEL6 to RHEL7 Hinko Kocevar via Tech-talk
Re: [EXTERNAL] updating ADAndor from RHEL6 to RHEL7 Pearson, Matthew R. via Tech-talk

Navigate by Date:
Prev: Re: any support for ISEG NHQ 204M power supply Ralph Lange via Tech-talk
Next: areaDetector ADProsilica dbJLinkDebug undefined reference Heinz Junkes via Tech-talk
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  <20192020 
Navigate by Thread:
Prev: Re: [EXTERNAL] updating ADAndor from RHEL6 to RHEL7 Pearson, Matthew R. via Tech-talk
Next: Empty string as SNL macro Hovanes Egiyan via Tech-talk
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  <20192020 
ANJ, 14 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·