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  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Area Detector and Flea2 camera problem
From: Miroslaw Dach via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Tue, 30 Mar 2021 09:35:28 -0700
Thank you for all your hints and suggestions.

15 years ago we used in PSI, Flea2  firewire cameras under Scientific Linux 5 and later SL6 with libraw1394, libdc1394 .
This time I wanted to use Flea2 with area-detector which offers so many useful tools.
Is there an option in area-detector to use Flea2 with libraw1394 and libdc1394 rather than with  libpointGrey.so .
The libpointGrey.so depends on libraw1394 but it does not use libdc1394. Maybe this would be the solution?
I do not remember if the linux kernel has to be compiled with the IEEE1394 option enable?

Best Regards
Mirek

On Tue, Mar 30, 2021 at 6:41 AM Mark Rivers <rivers at cars.uchicago.edu> wrote:

Hi Peter,

 

Thanks for the tip.  I did have PvCam, PICam, and LightField installed, all from Photometrics/Princeton Instruments.  I uninstalled all of them, but that did not help.  I have the FLIR driver installed for my Firewire card, but it still does not see the camera.

 

Mark

 

 

 

From: Heesterman, Peter J <Peter.Heesterman at ukaea.uk>
Sent: Tuesday, March 30, 2021 4:38 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; 'Miroslaw Dach' <mdach at lbl.gov>; EPICS Tech-Talk <tech-talk at aps.anl.gov>
Subject: RE: Area Detector and Flea2 camera problem

 

Hi Mark,

 

I have some experience with the Flea2 camera type.

I have a project that uses it a LabView - and not an EPICS - context.

 

One point of knowledge I can share is that the Windows device driver for Photometrics/Princeton cameras somehow breaks the device driver for the Flea2 camera, if they are installed on the same PC.

-       I’ve no idea whether or not this would the case with Linux also.

 

I don’t know if this information is relevant or helpful at all.

 

Cheers,

 

Peter.

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Mark Rivers via Tech-talk
Sent: 30 March 2021 00:01
To: 'Miroslaw Dach' <mdach at lbl.gov>
Cc: tech-talk at aps.anl.gov
Subject: RE: Area Detector and Flea2 camera problem

 

Hi Mirek,

 

Ø  Does it mean that the Flea2 would work with area-detector under Windows?

 

In principle yes.  It should work on Linux too, I just don’t know if it has been tested.

 

I actually have a Flea2 camera (FL2-03S2M).  I just plugged it into my Windows machine.  The FLIR FlyCap2 viewer software is not finding the camera, but it should.  I have sent a support request to FLIR to have them help me with that problem.  If they can figure it out I will see if ADPointGrey works with the camera on Windows.  I don’t have a Linux machine with a Firewire card, so I can’t test that.

 

Mark

 

 

From: Miroslaw Dach <mdach at lbl.gov>
Sent: Monday, March 29, 2021 4:57 PM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: Area Detector and Flea2 camera problem

 

Hi Mark and Han,

 

Thank you very much for your expertise and suggestions.

>This means that the vendor SDK is unable to find any Point Grey/FLIR cameras.

I will just give a last try. I will read the serial number and set it explicitly in EPICS db.  

>The Flea2 is a Firewire camera.  In principle that is supported by the FlyCap2 SDK that ADPointGrey uses.  However, I am not sure if anyone has actually used a Point Grey Firewire camera with ADPointGrey on Linux, and almost certainly not on a Ubuntu 20.

 

Does it mean that the Flea2 would work with area-detector under Windows?

>Is replacing the camera an option?  New GigE or USB-3.0 cameras with much better performance than the Flea2 are less than $500.

Well, we just have this camera so we wanted to make use of it even if it is not so new.

 

Best Regards

Mirek

 

On Thu, Mar 25, 2021 at 7:20 PM Mark Rivers <rivers at cars.uchicago.edu> wrote:

Hi Mirek,


> Number of cameras detected: 0
> 2021/03/25 17:56:30.674 pointGrey:connectCamera: no cameras found


This means that the vendor SDK is unable to find any Point Grey/FLIR cameras.


The Flea2 is a Firewire camera.  In principle that is supported by the FlyCap2 SDK that ADPointGrey uses.  However, I am not sure if anyone has actually used a Point Grey Firewire camera with ADPointGrey on Linux, and almost certainly not on a Ubuntu 20.

Firewire cameras are not supported by the new FLIR Spinnaker SDK, so upgrading to that is not an option.

Is replacing the camera an option?  New GigE or USB-3.0 cameras with much better performance than the Flea2 are less than $500.

Mark


________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Miroslaw Dach via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, March 25, 2021 8:09 PM
To: tech-talk at aps.anl.gov
Subject: Area Detector and Flea2 camera problem

Hello,

I am using the latest Area Detector R3-10 on Ubuntu 20.04 focal (x86-64).
Unfortunately the Flea2 camera which is connected to the computer is not detected:

Startup script:
epicsEnvSet("IOC","iocPointGrey")
epicsEnvSet("TOP","/home/beamline/EPICS/synApps/support/areaDetector-R3-10/ADPointGrey/iocs/pointGreyIOC")
epicsEnvSet("ADPOINTGREY","/home/beamline/EPICS/synApps/support/areaDetector-R3-10/ADPointGrey/iocs/pointGreyIOC/../..")
epicsEnvSet("SUPPORT","/home/beamline/EPICS/synApps/support")
epicsEnvSet("ASYN","/home/beamline/EPICS/synApps/support/asyn-R4-41")
epicsEnvSet("AREA_DETECTOR","/home/beamline/EPICS/synApps/support/areaDetector-R3-10")
epicsEnvSet("ADSUPPORT","/home/beamline/EPICS/synApps/support/areaDetector-R3-10/ADSupport")
epicsEnvSet("ADCORE","/home/beamline/EPICS/synApps/support/areaDetector-R3-10/ADCore")
epicsEnvSet("AUTOSAVE","/home/beamline/EPICS/synApps/support/autosave-R5-10-2")
epicsEnvSet("BUSY","/home/beamline/EPICS/synApps/support/busy-R1-7-3")
epicsEnvSet("CALC","/home/beamline/EPICS/synApps/support/calc-R3-7-4")
epicsEnvSet("SNCSEQ","/home/beamline/EPICS/synApps/support/seq-2-2-8")
epicsEnvSet("SSCAN","/home/beamline/EPICS/synApps/support/sscan-R2-11-4")
epicsEnvSet("DEVIOCSTATS","/home/beamline/EPICS/synApps/support/iocStats-3-1-16")
epicsEnvSet("EPICS_BASE","/home/beamline/EPICS/base-7.0.5")
errlogInit(20000)
dbLoadDatabase("/home/beamline/EPICS/synApps/support/areaDetector-R3-10/ADPointGrey/iocs/pointGreyIOC/dbd/pointGreyApp.dbd")
:
:
# Prefix for all records
epicsEnvSet("PREFIX", "13PG1:")
# Use this line for the first Point Grey camera in the system
epicsEnvSet("CAMERA_ID", "0")
# Use this line for a specific camera by serial number, in this case a Flea2 Firewire camera
epicsEnvSet("CAMERA_ID", "9211601")
:
:
pointGreyConfig("PG1", 18402100, 0x1, 0)
2021/03/25 17:56:30.651 pointGrey:connectCamera: no cameras found
2021/03/25 17:56:30.651 pointGrey:connectCamera: ERROR calling GetCameraFromSerialNumber Type=19 Description=Failed to get the camera from the serial number.
2021/03/25 17:56:30.651 pointGrey:pointGrey:  camera connection failed (3)

Number of cameras detected: 0
2021/03/25 17:56:30.674 pointGrey:connectCamera: no cameras found
2021/03/25 17:56:30.674 pointGrey:connectCamera: ERROR calling GetCameraFromSerialNumber Type=19 Description=Failed to get the camera from the serial number.
2021/03/25 17:56:30.674 pointGrey::report error calling connectCamera()

Supported properties
./start_epics: line 1: 78175 Segmentation fault      (core dumped) ../../bin/linux-x86_64/pointGreyApp st.cmd

-----------------------------------------------------------------------------------------------

kernel reports the following problem:

692673.933782] pointGreyApp[78175]: segfault at 0 ip 00007f56601b1a1f sp 00007ffecc98aa50 error 4 in libpointGrey.so[7f56601a4000+11000]
[692673.933794] Code: 84 9f 04 00 00 48 8b 85 30 e8 ff ff 49 8b b7 60 05 00 00 48 8b bd 38 e8 ff ff 49 8b 94 07 c8 05 00 00 4d 8b b4 07 58 06 00 00 <48> 8b 06 48 89 95 20 e8 ff ff ff 50 78 48 8b b5 38 e8 ff ff 4c 89

Does anybody have an idea what might be wrong?

Best Regards
Mirek


Replies:
RE: Area Detector and Flea2 camera problem Mark Rivers via Tech-talk
Re: Area Detector and Flea2 camera problem Miroslaw Dach via Tech-talk
References:
Area Detector and Flea2 camera problem Miroslaw Dach via Tech-talk
Re: Area Detector and Flea2 camera problem Mark Rivers via Tech-talk
Re: Area Detector and Flea2 camera problem Miroslaw Dach via Tech-talk
RE: Area Detector and Flea2 camera problem Mark Rivers via Tech-talk
RE: Area Detector and Flea2 camera problem Heesterman, Peter J via Tech-talk
RE: Area Detector and Flea2 camera problem Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: Questions about arrays William Layne via Tech-talk
Next: RE: Area Detector and Flea2 camera problem Mark Rivers 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  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: Area Detector and Flea2 camera problem Mark Rivers via Tech-talk
Next: RE: Area Detector and Flea2 camera problem Mark Rivers 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  2019  2020  <20212022  2023  2024 
ANJ, 30 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·