I have two GigE cameras. One is an area scanner (SP-5000C) and the other is a line scanner (SW-4000Q). So, I first configured the init file for the area scanner and saved it to configured devices. Then, I disconnected the area scanner and connected the line scanner. I did the same and saved the line scanner configuration to configured devices.
Now, the issue is I am not able to open the line scanner from the configured devices. I can see the line scanner in the available devices and I am able to open it, but I can’t open the camera from the configured devices option. The little icon of the camera next to the line scanner is greyed out but it is green in available devices. It throws me a error saying that “Error finding a interface for the device”. You can see that from the below image.
I am guessing the interface the camera is looking for is .cti file that interacts with the transport layer ? Correct me if i am wrong. I also saw the genicam.ini file, and I can see that the line scanner (shown in channel 1) has the same cti file that as the area scanner (shown in channel 0). Please find the .ini file below
Basically, you want to move all devices you want to work with to the configured devices tab and then save the configuration (Both cameras green on the right side).
This however means you have to open the GenICam Browser and configure your camera everytime you change on of them.
The way with using the discover interface that is mentioend in the linked posts also allows you to simply change the cameras in your system without the need of much configuration.
Cheers
Chris
Edit: You should also have all applications closed that work with the cameras otherwise they will appear red as well.
I assume you are on linux as you dont have a filter driver, make sure to remove any “IgnoreGevSD” tags when discovering. On windows we want to work on the filterdriver, this however does not apply for linux systems of course.
Hello @Chris,
Thank you for the reply. To add to the post above, I do not have a issue with discovering the cameras. I have issue accessing the cameras from the configured devices. I am facing this issue only in Ubuntu 20.04. But, I don’t see the issue with Windows. You can see the below image of the GeniCam browser for Windows.
So, basically when I disconnect the area scan camera and connect the line scan camera, I would expect the camera icons of the area scan in configured devices tab to be in gray color and only the line scan camera to be green. This behaviour is correct when using Windows.
If you see in the above image, the area scanner was turned off and the line scanner was connected. In the confugured devices tab, the icon next to area scanner(port 0) is RED and the icon next to line scanner (port 1) is gray. But in the available devices tab, the icon next to line scanner is green.
I am not sure how geniCam browser is interacting with the camera in linux. I am thinking it is still looking for area scanner when the line scanner is connected.
Using CvbPy I am trying to load the camera using the GeniCam.vin driver. So, I think the GeniCam.vin driver is still trying to load the area scan configuration when line scanner is connected.
I have two questions here,
How can the issue with GeniCam browser be resolved in linux ?
How does the GeniCam.vin driver open the cameras ? In my case if I use the same vin driver, how the area scanner and line scanner is distinguished
GenICamBrowser is a tool for configuring the driver (vin) and it generates an ini file, when you store the configuration. This INI file is located in %CVBDATA% → Drivers → GenICam.ini. You can check the file configuration in an editor. This INI file is used when loading the .vin driver.
But it is not used when you open the device in GenICamBrowser as the GenICamBrowser does not use the vin driver. When the device does not show up in available devices (which your screenshot shows), then you cannot open it in configured devices, as it is actually the same process/device.
hi @c.hartmann
It is strange that, even genicam browser behaves weirdly on Ubuntu when 2 cameras are connected. When I try to open area scanner, the area scan camera is opened but when I open the line scan camera, the browser open the area scan camera again. I am not sure if the ini file is loading correctly on ubuntu. I am not facing this issue in Windows though, so I have switched to windows now.
Hi @c.hartmann,
No, the area scanner was not connected in LAG. The area scanner is 1 GigE and the line scanner is 10 GigE. So, they were connected to different ports.
Hi @c.hartmann
Actually we were facing issues in getting our area scanner work with LAG on Ubuntu. We contacted Stemmer support for the same and they suggested us to try it out on windows. So, we are currently working with widows
May be later this year or beginning next year, we might move to Linux again. I will let you know then
Ok, that is interesting. I would have expected that they (support) contact me xD.
Anyway the setup of a working bond is a bit tricky on ubuntu, because with CVB we make the assumption that IPs and MACs are unique. But a bond (linuxish for LAG), does not do this by default.
So a bond might create scenarios, where …
bond0 “contains” eth0 and eth1
and bond0 and eth0 shared an IP
… just as an example. And this confuses CVB.
But in general you just have to be careful and the scenario is not that common.