Matlab gigE and gentl issues with Lucid Vision Camera

16 次查看(过去 30 天)
Hi I think this is up in Matlab's court? Can someone from Image Acquisition Toolbox team help us here?
Lucid team identified a problem with Matlab reading LUCID camera features. They have done the following steps: - performed test with the latest version of Matlab: imaqhwinfo ans = struct with fields: InstalledAdaptors: {'gentl' 'gige'} MATLABVersion: '9.13 (R2022b)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '6.7 (R2022b)' - using Matlab's gige AND gentl adapter: Matlab gige adapter does not seem to read any camera node names starting with Gev including GevSCFTD, and incorrectly parses several Stream Channel nodes (highlighted in bold). >> vid = videoinput("gige", "1", "Mono8") >> src = getselectedsource(vid) src = Display Summary for Video Source Object:
General Settings:
Parent = [1x1 videoinput]
Selected = on
SourceName = input1
Tag = [0x0 string]
Type = videosource
Device Specific Properties:
AcquisitionBurstFrameCount = 1
AcquisitionFrameCount = 1
AcquisitionFrameRate = 270.9293
(...)
LineStatusAll = 12
LinkUpTime = 1455
N1 = 0
N1049 = 25.928
N1059 = 3674.16
N1061 = (Currently not accessible)
N1071 = (Currently not accessible)
N480 = 0.02
N481 = 0
N482 = 0
N483 = 65535
N484 = 1
N485SK = 0
N486 = 1
N487 = 1
N488 = 0
PacketDelay = 80
PacketResendWindowFrameCount = 4
(...)
____________________________
Matlab GenTL consumer does not seem to read any camera node names starting with Gev including GevSCFTD, and incorrectly parses several Stream Channel nodes (highlighted in bold)
>> vid = videoinput("gentl", "1", "Mono8")
>> src = getselectedsource(vid)
src =
Display Summary for Video Source Object:
General Settings:
Parent = [1x1 videoinput]
Selected = on
SourceName = 0
Tag = [0x0 string]
Type = videosource
Device Specific Properties:
AcquisitionBurstFrameCount = 1
AcquisitionFrameCount = 1
(...)
LineStatusAll = 12
LinkUpTime = 2342
N1 = 0
N1049 = 25.928
N1059 = 3674.16
N1061 = (Currently not accessible)
N1071 = (Currently not accessible)
N480 = 0.02
N481 = 0
N482 = 0
N483 = 65535
N484 = 1
N485SK = 0
N486 = 1
N487 = 1
N488 = 0
PacketResendWindowFrameCount = 4
PhysicalPixelSize = 6.9
(...)
- tried to reproduce the issue accessing and parsing LUCID XML on other third-party software, such as NI Max, Matrox, Peora and encountered no issues i.e., could run the camera on all three.
Therefore, we believe this is a Matlab problem that we would like to be fixed or suggest us fixes.
Thanks
  1 个评论
gujax
gujax 2023-2-23
编辑:gujax 2023-2-28
I know that Matlab is not supposed to work on all the cameras in the market but there must be underlying universal set of parameters that all camera manufacturers ought to provide so that any image acquisition App can work. For example with Lucid Vision camera National Instrument drivers, Matrox drivers and some other drivers work well. But Matlab GigE vision does not work. Should I fault that on Matlab? What is the solution here other than our vendor thinks it is a Matlab issue and Matlab support is silent on this?

请先登录,再进行评论。

采纳的回答

gujax
gujax 2023-3-9
It appears this issue is resolved thanks to Matlab Image Acquisition toolbox support team. The best recourse to use 10G Lucid vision camera is to use gentl. Use max buffer in the network configuration (4096 is what I used) and also max bunch rate. Then in the network settings check ipv4 and Lucid driver box Do not use gigE There is still the fact that I do not have recourse to packet_delay but it appears that I do not need it.

更多回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by