From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

error -1074396080 Invalid image type.

hi,

i'm using "imageROIprofile" to get the information from the image but i experienced an error -1074396080 Invalid image type. i don't know how to fix this.

(my input file is *.bmp)

here is my VI,

thanks for your help!!

0 Kudos
Message 1 of 3
(9,361 Views)
Hi,
the function "IMAQ ROIProfile" only supports U8, I16 and SGL (all are grayscale)!
You are using HSL which is U32!
 
regards,
ThSa
0 Kudos
Message 2 of 3
(9,359 Views)

This error is also occurring in edge detection vi too, any solution.

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