missing PacketDelay in Gentl with Lucid Camera

3 views (last 30 days)
gujax
gujax on 10 Feb 2023
Answered: gujax on 16 Feb 2023
Hi,
I am able to run Lucid vision camera using Gentl driver.
however, I am not seeing the field 'PacketDelay' in the src structure.
On Lucid software, i can set this using parameter called 'Stream transmission delay'
That is set to 0, and the image looks garbled and broken. I have to set a delay to make it work.
But in Matlab I have no such option
Is there any way I can get this variable to show up on the matlab video object?
I have reached out to the vendor but I am told this is Matlab issue
Is this something in the API that I need to change?
Any help is appreciated

Answers (1)

gujax
gujax on 16 Feb 2023
Bump?
I have more information...
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 without issues.
I hope this gets fixed.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!