08-25-2012 01:51 PM
Hi,
I am rewriting an old non-versatile version of a VI. I don't have much experience but I have the old VI as sort of a template for what I need to do. It's weird but although I try to do things exactly the same way, they don't work.
I acquire a high resolution image from the camera (IMAQ Acquire) which is too big (1280x1024). I want to resample (IMAQ Resample) it to 256x320px.
I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
Dennis
Solved! Go to Solution.
08-26-2012 06:39 AM
@Deneck wrote:
I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
No, not right. IMAQ Resample doesn't support U16 type (at least up to VDM2011). Refer to Help.
Convert your image to I16 (if possible) prior to resampling.
Andrey.
08-26-2012 08:35 AM
oh man, I did read the help, of course... well, thanks