Cannot get images from gigE camera
显示 更早的评论
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.
- We can talk to the camera using ArenaView GUI supplied by Lucid. But only if we reduce the number of pixels to about 2000x2500.
- 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 个评论
I have the same problem with a Lucid Atlas 47Mp camera.
In my case the ArenaView GUI of Lucid the camera works at full resolution without problems.
I have also followed all the instructions in Lucid and Matlab.
At one point I managed to capture images in Matlab by lowering the resolution to 1024x1024pixels. Also I noticed that from 4096x4096 the capture failed. But, the tests were not repeatable. The next day after turning the whole system off and on it didn't work even at low resolution. The same code!
I have read many user comments complaining about the Gige interface in Matlab. Also the ArenaView GUI program is not a marvel. 😢
PD: Typical error message = "Camera failed to start. This could be due to a bad camera state, try power cycling the camera."
Another error = "Time out occurred while trying to get a frame from the camera. Modify the 'Timeout' property to change how many seconds 'snapshot' method waits to return image data." However the timeout is configured at 10 seconds !!
gujax
2023-1-14
Hector C
2023-1-19
I contacted Mathworks and Lucid support team but no solution yet.
Gentl doesnt work for me at all.
Due to the urgency I have tried other alternatives and am making progress by using pyrun (Matlab-Pythonfunction).
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.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 GigE Vision Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!