Hi Mark,
Thank you for your reply
Here's where I got to:
- I built the Acquisition executable from ADSpinnaker. Running it didn't find any cameras
- I then installed Spinnaker SDK which I got from the ptgrey website, it comes with a newer version 1.13.0.31 compared to 1.10.0.31 in ADSpinnaker. Installation also installs Acquisition test programme. When I ran that one it worked as expected, so found the camera and took 10 images.
- I assumed that the new version is somehow able to talk to my Blackfly while the old one isn't so I replaced ADSpinnaker's Acquisition.cpp as well as all libraries and headers in spinnakerSupport folder with the ones that got installed with the SDK from ptgrey.
- Built it successfully but the newly built Acquisition programme failed to find any cameras on the system.
- I then compared ldd output of both the working Acquisition from installed SDK and the newly modified ADSpinnaker Acquisition executable. The only difference was that the ADSpinnaker's one was using libraries from ADSpinnaker/lib/linux-x86_64. Bear in mind that those libraries are just a copy of libraries installed in /usr/lib by the SDK debian package.
- I then modified the spinnakerApp/src/Makefile by adding SHRLIB_SEARCH_DIRS += /usr/lib and removed all libraries installed in ADSpinnaker/lib/linux-x86_64.
- This worked! ldd shows that it's linked to /usr/lib/ libraries. IOCs also successfully connects to the camera.
I have tried a few other things, unsuccessfully. It seems that I'll be able to use ADSpinnaker now, with the modification of linking to installed /usr/lib libraries instead the ones from ADSupport/spinnakerSupport/os
I hope this helps.
Cheers,
Andraz
-----Original Message-----
From: Mark Rivers [mailto:[email protected]]
Sent: Wednesday, September 19, 2018 9:54 PM
To: POZAR, Andraz <[email protected]>; [email protected]
Subject: Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED]
Hi Andraz,
I don't know of anyone else who has used ADSpinnaker on Linux. This is because the vendor SDK requires Ubuntu 16 (or 18 now I believe) and most of us are running older Linux distributions like RHEL 7 or Centos 7. These have older versions of GLIBC and GLIBCXX that won't work with the vendor library.
ADSpinnaker comes with a number of small test programs (Enumeration.cpp, Acquisition.cpp, etc.) that are mostly directly from the vendor SDK. These will first try to find the cameras, which is where ADSpinnaker is failing for you.
You should try these test programs, both using the version built in ADSpinnaker/spinnakerApp/src, and the version built directly in the vendor SDK directories.
If the version built in the vendor SDK directories does not work, then you should open a support request with FLIR.
If the version built in the vendor SDK directories does work, but the version built in ADSpinnaker does not, then you should open a support request with me :-)
Mark
________________________________
From: [email protected] <[email protected]> on behalf of POZAR, Andraz <[email protected]>
Sent: Wednesday, September 19, 2018 12:02 AM
To: [email protected]
Subject: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED]
Hi all,
I'm struggling to get an IOC to connect to my BlackFly S camera which uses Spinnaker software. I'm using the HEAD revision of areaDetector with ADCore, ADSupport and ADSpinnaker from the GitHub.
I've managed to build all components but when I start the IOC, it fails to connect to the camera:
ADSpinnakerConfig("SP1", 18260782, 0x1, 0)
2018/09/19 14:48:27.180 ADSpinnaker:connectCamera: no cameras found
2018/09/19 14:48:27.180 ADSpinnaker:ADSpinnaker: camera connection failed (3)
Number of cameras detected: 0
I can see the camera using arv-tool-0.4 from aravisGigE component and list it's feature without any problems.
Here's my setup, as per documentation:
- Ubuntu 16.04
- GLIBC 2.23
- GLIBCXX 3.4.21
- GCC 5.4
Has anyone managed to get the IOC to talk to BlackFly S, model: BFS-PGE-16S2M-CS?
Thanks,
Andraz Pozar
Controls Engineer
Australian Synchrotron
Tel
Email
Web
+61 3 8540 5387
[email protected]<mailto:[email protected]>
www.ansto.gov.au<http://www.ansto.gov.au/>
[fb]<http://www.facebook.com/DiscoverANSTO> [tw] <https://twitter.com/ANSTO> [ln] <http://www.linkedin.com/company/ansto> [yt] <http://www.youtube.com/user/ANSTOVideos>
[ansto]
Important: This transmission is intended only for the use of the intended addressee. It is confidential to the intended addressee and may contain privileged information and or copyright material. If this email is not intended for your attention, any use, printing, storage, reproduction or further disclosure of this communication (including all attachments) is strictly forbidden. If you have received this transmission in error, please notify me by telephone or email and immediately delete all copies of this transmission as well as any attachments.
- Replies:
- Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] Mark Rivers
- References:
- BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] POZAR, Andraz
- Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] Mark Rivers
- Navigate by Date:
- Prev:
RE: time series circular buffer Mark Rivers
- Next:
Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] 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
- Navigate by Thread:
- Prev:
Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] Mark Rivers
- Next:
Re: BlackFly S with ADSpinnaker [SEC=UNCLASSIFIED] 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
|