What is the Maximum Image Size I can Acquire with my Digital Camera? Primary Software: Driver Software>>NI-IMAQPrimary Software Version: 3.0 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Image Acquisition (IMAQ)>>Digital Image Devices>>PCI-1422, Image Acquisition (IMAQ)>>Digital Image Devices>>PXI-1424, Image Acquisition (IMAQ)>>Digital Image Devices>>PXI-1428, Image Acquisition (IMAQ)>>Digital Image Devices>>PCI-1428, Image Acquisition (IMAQ)>>Digital Image Devices>>PXI-1422, Image Acquisition (IMAQ)>>Digital Image Devices>>PCI-1424
Problem: What is the Maximum Image Size I can Acquire with my Digital Camera? Solution: Previous to NI-IMAQ 3.0, the maximum image size that could be acquired with an IMAQ image acquisition device was limited by the onboard memory of the IMAQ device. With NI-IMAQ 3.0, a new feature was introduced to accommodate cameras that have large image sizes. This new mode treats the onboard memory as a FIFO rather than a full frame buffer. The IMAQ device will automatically use this new feature when it cannot fit the full buffer list of a continuous acquisition in onboard memory. To calculate the amount of memory required by your buffer list use the following equation: Note: number of images for a grab is three. The amount of onboard memory available for your hardware can be determined in Measurement & Automation Explorer (MAX) by going to Device and Interfaces » NI-IMAQ Devices and clicking on your IMAQ Device. The window on the right will display the amount of onboard memory for your device. This new mode allows you to acquire any size image provided that the image's line width fits into onboard memory and your computer has enough memory for the the buffers you need to allocate. In most cases, there will be no difference when using this mode. One of the important differences though, is that if you do not process the images fast enough the images will get split. This occurs when you extract an image and keep it extracted while the acquisition continues to acquire images. If you have an image extracted and acquire more images than there are allocated buffers, the onboard memory will get overwritten and will produce split images. With previous versions of the driver, you would not be able to acquire images this large. Attached is a sample of what the split frame might look like. Split frames can occur when acquiring images that don't fit in the onboard memory of the IMAQ device. Split frames typically happen on slower computers, or computers with the video card on the PCI bus instead of the AGP bus. If the user is moving the window around or using the scroll bar excessively this can also cause the problem because the processor doesn't call IMAQ Extract quickly enough. Using highlight execution mode in LabVIEW or debugging can also cause this problem because the extract isn't called quickly enough. Some things to do to help avoid split frames include:
Related Links: Attachments:
Report Date: 08/25/2004 Last Updated: 09/22/2004 Document ID: 3COD1N8M |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
