jAi Pulnix GigE Camera: Unable to set Packet Size

1 view (last 30 days)
Hello,
First of all, this is my first question in the MathWorks Forums, so I apologise in advance for any missing information. Ihave just started working in a project where we need to set up the cameras in the lab to be used from MatLab. One of those (the ones I'm currently working on) is a jAi Pulnix TMD-6740GE. Additionally, I'm using the R2011b version of MatLab on Windows XP SP3.
As the camera was already installed on the PC before I started working with it, I wasn't able to choose which drivers to install, but I was able to configure the Network Adapter and Network Connections as much as I could (and knew how). I also installed the GenICam software as the MatLab documentation said.
However, when I open the Imaqtool, it recognises the camera just fine, but as soon as I try to preview (or acquire) with it, it shows an error saying it was Unable to set Packet Size [imaqdevice/preview (line 177)].
So far, I have no idea what might be causing the problem, and I tried changing the Packet Size both from within the Imaqtool and from the JAI Control Tool (which don't seem to let me choose the same sizes), but that hasn't solved the issue.
Anyways if anyone can help, or knows whats wrong, I'd be really grateful.
Thanks a lot,
Federico

Accepted Answer

Walter Roberson
Walter Roberson on 13 Oct 2011
Please see this previous discussion
  1 Comment
Federico
Federico on 14 Oct 2011
Thank you for answering so quickly. I had read that discussion before though, but I couldn't work around the problem with it. I am working under the Admin account, so permissions shouldn't be a problem. I also checked all GenICam variables as soon as I installed it, as the MatLab doc said. I do, however, still have to check the "bugs" section to see if something there matches the problem I am having. Let's hope there is.

Sign in to comment.

More Answers (1)

Federico
Federico on 14 Oct 2011
I just thought I should let you know, I finally got it working.
I went over the setup in the MatLab doc again, and corrected a couple of things in the Network Adapter settings. Then, it started working ok. It still shows the "Unable to set Packet Size" error every now and then, but it usually works fine when you run it again.
Even so, I am still having another problem. I cannot set the camera's framerate to other than 30. I mean, I find nowhere to set it from. I tried setting the FrameRate property from the VideoWriter function, but the camera kept recording at 30fps. Is there any way to change that from within MatLab that doesn't require building an adaptor library?
Thanks again,
Federico

Community Treasure Hunt

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

Start Hunting!