09-05-2012 11:36 AM
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
09-06-2012 01:21 AM
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)
09-06-2012 09:46 AM
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.