Ø
Is there an option in area-detector to use Flea2 with libraw1394 and libdc1394 rather than with libpointGrey.so .
Yes, areaDetector has 2 drivers for Firewire cameras that are generic, they don’t use the Point Grey libraries.
firewireDCAM This runs on Linux
ADFireWireWin This runs on Windows
Neither of these has had much recent development, but they should work.
Mark
From: Miroslaw Dach <[email protected]>
Sent: Tuesday, March 30, 2021 11:35 AM
To: Mark Rivers <[email protected]>
Cc: Heesterman, Peter J <[email protected]>; EPICS Tech-Talk <[email protected]>
Subject: Re: Area Detector and Flea2 camera problem
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?
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
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.
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 <[email protected]>
Sent: Monday, March 29, 2021 4:57 PM
To: Mark Rivers <[email protected]>
Cc: [email protected]
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.
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 <[email protected]> on behalf of Miroslaw Dach via Tech-talk <[email protected]>
Sent: Thursday, March 25, 2021 8:09 PM
To: [email protected]
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
|