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: arv-tool-0.8 with FLIR-Blackfly camera
From: "Wang, SuYin Grass via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 3 Jun 2021 22:16:10 +0000
Hi Mark,

Thanks for your help. I modified the IP address of camera to 192.168.1.6 on the Spinnaker in the windows machine. The IP address was 192.168.1.6/dynamic on windows machine, but when I checked it with arp in linux machine, it always shows 192.168.0.2/dynamic.

After modify my laptop eno2 IP address from 192.168.1.5 to 192.168.0.5, the arv-tool-0.8 found the camera. 
The mtu=9000 and mtu=1500 both work. 

Another problem is the wifi on the laptop is also on 192.169.0.x. while arv-tool-0.8 is work, I lose connection of wifi. If the wifi is on, the arv-tool-0.8 won't find the camera until the laptop loss the connection of wifi. 

Is there a way to change camera IP address? I can easily change the IP address of my laptop to fit the camera for testing, but it is not a good long-term solution. 

Thank you again!
Grass

From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, June 3, 2021 1:19 PM
To: Wang, SuYin Grass <grass at anl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: arv-tool-0.8 with FLIR-Blackfly camera
 
Hi Grass,


I suggest changing MTU on that interface from 9000 to 1500 and see if that helps.


What is the IP address of the camera?  Can you ping it?


Mark



________________________________
From: Wang, SuYin Grass <grass at anl.gov>
Sent: Thursday, June 3, 2021 1:13 PM
To: Mark Rivers
Cc: tech-talk at aps.anl.gov
Subject: Re: arv-tool-0.8 with FLIR-Blackfly camera

Hi Mark,

The network is an ethernet port with static IP address. The cable is connecting directly from camera to the laptop.

eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 9000
        inet 192.168.1.5  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::2101:2192:d0e8:15fe  prefixlen 64  scopeid 0x20<link>
        ether 74:78:27:47:50:46  txqueuelen 1000  (Ethernet)
        RX packets 53  bytes 8866 (8.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 18465  bytes 3934095 (3.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xcc300000-cc320000

Thank you!
Grass
________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, June 3, 2021 1:03 PM
To: Wang, SuYin Grass <grass at anl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: arv-tool-0.8 with FLIR-Blackfly camera

Hi Grass,


I am including tech-talk in this, I forgot to CC tech-talk in my original reply.


> I am not sure why does the arv-tool-0.8 can get the camera name correct, but then complained "Invalid Genicam data"


It sounds like perhaps it is a network configuration problem, for example jumbo packets being enabled on the NIC but not on some intermediate switch or something.  What is the network path from the Linux machine to the camera?


Mark



________________________________
From: Wang, SuYin Grass <grass at anl.gov>
Sent: Thursday, June 3, 2021 12:55 PM
To: Mark Rivers
Cc: Wang, SuYin Grass
Subject: Re: arv-tool-0.8 with FLIR-Blackfly camera

Hi Mark,

I also tried to remove the fake camera, and I got the same error.
This camera works fine with Spinnaker SDK in windows machine.

I also try to ignore the arv-tool, just use the database existed. (st.cmd.BlackflyS_70S7M attached)
areaDetector-R3-11/ADAravis/iocs/aravisIOC/iocBoot/iocAravis/st.cmd.BlackflyS_70S7M

but the aravisConfig cannot find this camera. I am not sure why does the arv-tool-0.8 can get the camera name correct, but then complained "Invalid Genicam data"

==================error from IOC===
# aravisConfig(const char *portName, const char *cameraName, int enableCaching, size_t maxMemory, int priority, int stackSize)
aravisConfig("ARV1", "FLIR-Blackfly S BFS-PGE-70S7M-19069593", 1, 0, 0, 0)
ADAravis: Looking for camera 'FLIR-Blackfly S BFS-PGE-70S7M-19069593'...
2021/06/03 12:42:40.399 ADAravis:makeCameraObject: No camera found, err=Invalid Genicam data
==================================

Thanks!
Grass


________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Thursday, June 3, 2021 10:51 AM
To: Wang, SuYin Grass <grass at anl.gov>
Subject: RE: arv-tool-0.8 with FLIR-Blackfly camera


Hi Grass,



There are database and opi screens for that camera in ADGenICam.  They are from Hinko Kocevar, so I think others are using that camera OK.



What happens if you eliminate the fake camera?  I have never tested with that.



What version of aravis are you using?



Can you put some other GigE camera on your network and see if arv-tool-0.8 works with that?



This is the output of arv-tool-0.8 on my Centos 8 system.  It is finding all of the cameras without the error you have.  I believe it is built using aravis 0.8.1.



[epics@viper ~]$ arv-tool-0.8

PointGrey-010AA71D (USB3)

Allied Vision Technologies-GC1380H (02-2142A)-02-2142A-06178 (164.54.160.58)

Allied Vision Technologies-GT1380 (02-2604A)-02-2604A-07008 (164.54.160.104)

Allied Vision Technologies-Manta G-507C (E0022705)-50-0503419258 (164.54.160.21)

Allied Vision Technologies-Manta G-507C (E0022705)-50-0503479241 (164.54.160.3)

Allied Vision Technologies-Manta_G-146C (E0020011)-50-0503317598 (164.54.160.62)

Point Grey Research-Blackfly BFLY-PGE-20E4C-13481965 (164.54.160.114)



Mark





From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Wang, SuYin Grass via Tech-talk
Sent: Thursday, June 3, 2021 10:35 AM
To: tech-talk at aps.anl.gov
Subject: arv-tool-0.8 with FLIR-Blackfly camera



Hi Everyone,



Is anyone here using the "FLIR-Blackfly S BFS-PGE-70S7M" camera?



We decide to use ADAravis for our RHEL8 or RHEL7 machine.



I just installed arv-tool-0.8 on my laptop(RHEL8).

While the Aravis-Fake camera seems running fine, I got an error for my real camera (Invalid Genicam data).



(tutorial-env) bash-4.4$ ./arv-fake-gv-camera-0.8

(tutorial-env) bash-4.4$ ./arv-tool-0.8

Aravis-Fake-GV01 (127.0.0.1)

Failed to open device 'FLIR-Blackfly S BFS-PGE-70S7M-19069593': Invalid Genicam data



Is there anything we need to modify before running the arv-tool?



Thanks!

Grass





Replies:
Re: arv-tool-0.8 with FLIR-Blackfly camera Mark Rivers via Tech-talk
References:
arv-tool-0.8 with FLIR-Blackfly camera Wang, SuYin Grass via Tech-talk
Re: arv-tool-0.8 with FLIR-Blackfly camera Mark Rivers via Tech-talk
Re: arv-tool-0.8 with FLIR-Blackfly camera Wang, SuYin Grass via Tech-talk
Re: arv-tool-0.8 with FLIR-Blackfly camera Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: arv-tool-0.8 with FLIR-Blackfly camera Mark Rivers via Tech-talk
Next: Re: arv-tool-0.8 with FLIR-Blackfly camera 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: arv-tool-0.8 with FLIR-Blackfly camera Mark Rivers via Tech-talk
Next: Re: arv-tool-0.8 with FLIR-Blackfly camera 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, 03 Jun 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·