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
|