LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Image Type

Ok, so admittedly I only know marginally what I am doing, but I am updating a rather old version of a program (written in 2004, so LabVIEW 7.x) to LabVIEW 2012.  In doing some of this we have replaced the IMAQ board from an analog BNC to IEEE board.  Most of the vision changes have gone smoothly.

 

One section of the program runs an IMAQdx Grab to obtain a continuous image, then runs through 2 IMAQ Overlay Line, followed by an IMAQ Clamp Vertical Max.  The image runs fine through the IMAQ Overlay line and I can display that image, however, it gets an error at the IMAQ Clamp Vertical Max.

 

It is error -1074396080 (Invalid Image Type) and indicates that IMAQ Rake is the culprit.

 

How do I go about fixing this?  The previous VI's have no issue with the image type, so is there a different VI I should use or a way to change the image type to a compatible format for this particular VI?

 

Thanks,

Melissa

0 Kudos
Message 1 of 3
(2,662 Views)

Could you post the VI you are facing problem with?

Generally, the error which you mentioned comes with mismatched datatype of image (eg. grayscale u8 image operated as grayscale u16)

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 2 of 3
(2,649 Views)

So, I did get it figured out.  I was feeding an RGB image through. The overlay line and rake vi's will accept this image type whereas the Clamp Vertical Max vi does not.  Somewhat odd I thought since one is embedded in the other.  I converted the image to grayscale and everything works now!

 

Thanks.

0 Kudos
Message 3 of 3
(2,630 Views)