DALSA Nano GigE connection with Image Acquisition Toolbox

조회 수: 10 (최근 30일)
Alberto Tellaeche
Alberto Tellaeche 2022년 2월 8일
답변: Narvik 2024년 1월 25일
Deall all,
I am trying to acquire images from a DALSA Nano GigE camera.
I have installed Sapera Drivers and the camera is correctly recognized (also, I can acquire images from Sapera Cam Expert).
The network adapter has also been correctly configured for the Jumbo Packages and so on. I have a point to point connection with the camera using a dedicated Ethernet cable.
This MATLAB code recognizes the camera (GigE add-on installed) and creates the adapter:
hwinfo = imaqhwinfo;
dev_info = imaqhwinfo('gige',1);
vid = videoinput('gige',1,'BayerRG8');
Summary of Video Input Object Using 'Nano-C1280'.
Acquisition Source(s): input1 is available.
Acquisition Parameters: 'input1' is the current selected source.
10 frames per trigger using the selected source.
'BayerRG8' video data to be logged upon START.
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Waiting for START.
0 frames acquired since starting.
0 frames available for GETDATA.
However, when I try to start acquiring images 'FramesAvailable' are always 0. I have also tested changing the trigger options, and the number of frames per trigger, with no success. No frames are acquired :
figure;
start(vid);
while(vid.FramesAvailable >= 2)
data = getdata(vid,2);
imshow(data);
drawnow %update figure window
end
stop(vid)
I have also disabled the Windows Firewall for MATLAB, again getting no results:
As a second alternative, I have used the functions provided by gigecam, again with no results:
>> gigecamlist
ans =
1×5 table
Model Manufacturer IPAddress SerialNumber UserDefinedName
______________ __________________ _________________ ____________ _______________
{'Nano-C1280'} {'Teledyne DALSA'} {'169.254.6.177'} {'S1103829'} {'S1103829'}
>> g = gigecam('169.254.6.177')
g =
Display Summary for gigecam:
DeviceModelName: 'Nano-C1280'
SerialNumber: 'S1103829'
IPAddress: '169.254.6.177'
PixelFormat: 'BayerRG8'
AvailablePixelFormats: {'BayerRG8' 'BayerRG10'}
Height: 1024
Width: 1280
Timeout: 10
Show Beginner, Expert, Guru properties.
Show Commands.
>> preview(g)
Could anyone provide any kind of advice to solve this problem?
Thank you all in advance.
  댓글 수: 1
Óscar
Óscar 2022년 9월 26일
편집: Óscar 2022년 9월 26일
Hello Alberto,
Did you manage to solve the problem?
The same thing happens to me with the same model of camera.
Thank you very much.

댓글을 달려면 로그인하십시오.

답변 (1개)

Narvik
Narvik 2024년 1월 25일
Hi,
As per my understanding, you are not able to acquire images from my Dalsa Nano GigE camera using 'getdata' even though the camera is recognized.
One way is to use the “ignoreddroppedframes” property. For more information, refer to the following documentation link:
Although this might resolve your error, your camera could drop frames.
Another approach is to try installing a GenTL producer and GenTL support package from MATLAB. Refer to the following link for more information:
Hope this helps!

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by