Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquisition Timeout

I am trying to take 1000 frames at 30 frames per second. If I take less than 100 frames, everything works fine. If I try to take more than 100 frames, I get an "aquisition timeout" error. I sucessfully changed the Frame tmo/ms to 30,000 ms (much higher than I need I presume) and confirmed that parameter changed in the ___.iid camera file. The camera we are using is a Sony XC-ST30. Is there another timeout setting that I havn't found yet or did I incorrectly change the timeout in MAX? The machine we are using is a brand new Dell with 1 GB of memory and a 3000 Mhz processor, so I don't think its a resource problem. I monitored the memory usage and it is not significantly affected at the time of the error. Thanks in advance for you assistance.
0 Kudos
Message 1 of 3
(3,382 Views)
It sounds like the 100 frames is the issue, not a timeout. What version of IMAQ drivers are you using? Did you set the maximum number of image buffers larger than 1000 in MAX? Check for error messages immediately after allocating all your buffers. I suspect the buffers are not being allocated, so the acquisition times out (which doesn't make much sense...)

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,382 Views)
In MAX the maximum number of image buffers is set to 1000. I tried setting it to 10,000, but that requires a reboot and I'm not sure when we will be able to do that as machine we are using is being used during the day. I'll reboot tonight and check to see if that did the trick. I assume if this works and I still can't go above 999 frames, but can do 100-999, I will need to set the max number of image buffers to 100,000. And you are right it doesn't make sense. It makes more sense that one image takes one buffer. It also doesn't make sense that requesting 1000 frames wouldn't dynamically change the buffer size to meet its needs. IMAQ is version 2.6.1. Thanks for your help, I hope it works.
0 Kudos
Message 3 of 3
(3,382 Views)