Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

My default buffer size is 50 facing problem with capturing

total images(RGB) of 300. PAL - 25 frames/sec. I couldn't succeed and get Memory lock error and I could proceed more than 50 images using PCI 1411. I use imaq sequence in the vi. What is the relation between buffer size and the total number of images?Is the max buffer size is a variable and if so how much
can I set. I want to capture 32bit (RGB) images of
of size 1.3 Mb total images 300 at 25 frames/sec. If I could go for 8bit then I could capture more. Looks like it is dependent on size of the image. I have tried setting the buffer size both
in NI-MAX and also in the vi. I could not go beyond 60 images for 32 bit format(1.35Mb). I could go to 200
images for 8 bit format(488kb). I do get errors like m
emory lock. Kindly suggest me how to solve this.

thanks
viswap
0 Kudos
Message 1 of 2
(2,917 Views)
total images(RGB) of 300. PAL - 25 frames/sec. I couldn't succeed and get Memory lock error and I could proceed more than 50 images using PCI 1411. I use imaq sequence in the vi. What is the relation between buffer size and the total number of images?It sounds like you already went into MAX and set the max number of buffers for IMAQ. This is an upper limit on the number of buffers you can allocate. From what I have been told, it is harmless to set this to a very large number. This controls the number of buffers, but does not affect the size of each buffer.

From what you describe, I would guess you are running out of memory in the computer. Make sure you have plenty of memory available to store all these images. To capture 300 frames at 1.3 Mb each, you will need a minimum of 512 Mb. It would be better to have 1024 Mb, so you have plenty of room for the operating system, software, and manipulating the images.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(2,917 Views)