Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Error -1074396080 at IMAQ BCGLookup: "Image is not the proper type"

Hardware: Image Acquisition (IMAQ)>>Analog Image Devices>>PCI-1409, Image Acquisition (IMAQ)>>Analog Image Devices>>PCI-1410

Problem:
My VI that uses the IMAQ BCGLookup function works with a 1408, but when I run the same VI with a 1409 or 1410, it gives me Error -1074396080 and says "Image is not the proper type".

Solution:
The IMAQ BCGLookup function will only work with 8 bit images. The 1408 only acquires 8-bit images, so it will work with the IMAQ BCGLookup function. The 1409 and 1410 acquire 10-bit images by default, so the IMAQ BCGLookup function will not accept these 10-bit images.

To fix this error, simply wire your acquired image to the Image Src input terminal of the IMAQ Cast Image function. Right-click the Image Type terminal of the IMAQ Cast Image function and select Create» Constant. Then select a constant of Grayscale (U8). Wire the Image Dst Out output terminal of the IMAQ Cast Image function to the Image Src input terminal of the IMAQ BCGLookup function. This should fix the error, because the IMAQ Cast Image will cast the image to an acceptable 8-bit image.



Alternatively, you can also fix this error by selecting your 1409 or 1410 in the Measurement & Automation Explorer and changing the Bit Depth from 10 bit to 8 bit in the Acquisition Parameters tab.




Related Links:
KnowledgeBase 2AQGCK8M: What Are the Differences between the PCI-1408 and PCI-1409?

Attachments:


CastImage-BCGLookup.GIFMAX_bitdepth.GIF


Report Date: 04/10/2006
Last Updated: 05/17/2006
Document ID: 3W9GP7S4

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit