Cannot get images from gigE camera

20 views (last 30 days)
gujax
gujax on 12 Jan 2023
Edited: cr on 23 Jan 2023
We just purchased a Lucid vision GigE camera. Vendor website shows how to use Matlab + GigE vision software to connect to it. We have Matlab version 2022b on Windows 10.
  1. We can talk to the camera using ArenaView GUI supplied by Lucid. But only if we reduce the number of pixels to about 2000x2500.
  2. We were able to also connect and acquire images using NiMax.
But under same settings no luck at all with Matlab. Gigecamlist does show the camera and gigecam returns all the camera parameters. But preview returns an X and snapshot times out. Few have suggested Firewall could be the reason but the fact NiMax and ArenaView can function though with limited scope we think it could be some other reasons. We have according to recommendations changed the network ipv4 setting ie removed the Lucid filter. We tried to set packet delay but in the latest versions we do not see that parameter. Buffer size 2048 and packet size d chosen as 9000. But no luck at all. We are looking for suggestions and solutions how to proceed.
  5 Comments
gujax
gujax on 20 Jan 2023
Edited: gujax on 20 Jan 2023
It appears that Lucid camera for me works with Matlab+ gentl.
Yes ArenaViewer also runs but at times it crashes for unknown reasons.
And also I confirm that in our case Firewall was not the issue.
I had to play a bit with buffer size (4096) etc in the configuration, start off with low frame rate and slowly ramp up.
We were also getting striped images. But on ArenaViewer I played with ‘frame transfer delay’ setting and changed it to few 100 ns and that gave us clean images. That was a pure lucky break and I got that idea from a discussion on ‘packet delay’ parameter adjustment on gigE forum on Matlab (that parameter is not provided by Lucid framework. And so I did a search and found this other delay parameter).
I still cannot confidently claim to have solved this 100%.
Lucid folks think that their 1G camera runs with Matlab and gigE but not 10G cameras. Strangely We have the ATX camera (10G) and it’s working as of now except system hangs and goes into blue screen especially with ArenaViewer. So definitely Lucid folks are also struggling with this issue.
cr
cr on 23 Jan 2023
Edited: cr on 23 Jan 2023
A camera vendor told me that generally 10GigE and 5GigE cameras are backward compatible with 1GBE ports but there are exceptions -most notably Lucid cameras. The ones compatible are Basler and AVT.
On a separate note I have had too many performance problems in versions 2015-2017a using Basler gigE cameras in Matlab. Even a meagre 14fps on 5MP camera hogs i5 processor and resulting frame rate is a few fps. Mathworks support was not able to solve the problem which apparenly had to do with drivers imaq toolbox uses. Vendor sw called Pylon works magically well. This drove me to usb3 cameras which work fine in Matlab and I havent tried gigE since. I might have to, now, and hoping all the issues are ironed out. Would be good to hear someone say gige basler works well for them in continuous acquisition in versions since 2020.
Regards.

Sign in to comment.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!