GigE Camera Connection: Unable to preview images (Camera; Basler scA1300-32gm)
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi. I am trying to connect my Basler scA1300-32gm camera to Matlab, but despite the fact that the camera is connected, when i press preview i get a white figure with a huge red "X" in the screen. What i do is:
vid=videoinpute('gige',1,'Mono16')
src=getselectedsource(vid);
src.PacketSize = 9000;
preview(vid);
I have also follow the steps in (<http://uk.mathworks.com/help/imaq/gige-vision-hardware.html#bsm6heh)>,
and i have set my ethernet's Jumbo Frame to 9KB MTU.
Despite all these i still cannot see anything in the preview window.
The same happens when i use the Image Acquisition Toolbox is tlef but i get the same.
The weird think is that Matlab can see the camera, and everything looks ok, but i cannot receive information from it.
Initially i have installed the camera'a software, and the camera worked fine, then i uninstalled it as Matlab troubleshoot suggests.
Also i have set up the Ethernet connection to only receive IPv4 and nothing else as the troubleshooters suggests.
Do you have any idea what the error might be? Any suggestions or any thoughts?
Thank you very much in advance.
Kind regards, Spiros
2 comentarios
Ritz
el 10 de Mzo. de 2016
Editada: Ritz
el 10 de Mzo. de 2016
Hello!
I get this same problem. I have a Basler acA1300-gm connected to Matlab 2015b and when I try to preview the camera, I only get the same white screen and a huge 'X'. Gige Vision Hardware is the only installed adaptor in my Matlab. I can obtain images using Pylon viewer.
I'm using an MSI computer with the following specifications:
Processor: Intel(R)Core(TM) i7-4710MQ CPU @ 2.50 GHz
Installed memory (RAM): 16.0 GB
System type: 64-bit OS (Windows 8.1), x64-based processor
I've already tried setting all Ethernet properties to the maximum value possible, e.g. Jumbo Frames - 9KB MTU. I've set the Transport Layer Packet Size in Pylon viewer to 9000 as well as suggested in the comments.
However, when I try to take an image using the following code:
vid = videoinput('gige',1);
im = getsnapshot(vid);
I only get the following error: A timeout occurred during GETSNAPSHOT. This is aside from the preview error I get as mentioned above.
Do you have any ideas on how to resolve this problem?
Any answers/ideas will be much appreciated. Thanks!
sam e
el 28 de Jul. de 2017
i had the same problem but i found what is the problem if you have an antivirius go ahead and see the webcam protection option you will find the matlab right there, and you can fix it from there
Respuestas (2)
ziye xu
el 25 de Abr. de 2016
I have similar error and I solved it by turning off firewall.
1 comentario
Abdoo
el 1 de Abr. de 2015
hi ... did you solved your problem ?? i have same thing
2 comentarios
Kazim Hanbay
el 29 de Abr. de 2015
You set up the matlab basler support package. In addition, you must change packet size in pylon.
Ver también
Categorías
Image Processing and Computer Vision
Image Acquisition Toolbox
Image Preview and Device Configuration
Test and Measurement
Image Acquisition Toolbox
Image Acquisition Toolbox Supported Hardware
GigE Vision Hardware
Mostrar más
Más información sobre Image Preview and Device Configuration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!