How can I get my Basler Gige camera to have a preview and to capture images without the getsnapshot timeout error?
3 views (last 30 days)
I have a Basler acA1300-gm which I want to control on Matlab 2015b but when I try to preview the camera, I only get a white screen and a huge 'X' on the preview window. Gige Vision Hardware is the only installed adaptor in my Matlab. I can obtain images using Pylon viewer application.
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 (with integer values) to the maximum value possible, e.g. Jumbo Frames - 9KB MTU.
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.' which I believe is also a consequence of the one causing the preview error.
Any ideas on how to solve this problem? Thanks!