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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About error -1074396077 (IMAQ Vision: Incompatible image type)

Solved!
Go to solution

Hello, I am trying to program pattern matching and this error -1074396077 (IMAQ Vision: Incompatible image type) occurred at IMAQ extract.

However, this error doesn't occur when I run the program step by step with highlight execution. I don't know why this error occur only when I run the program normally.

Please tell me how to fix this.

 

I attached VI files(main and sub). This error occurred in subVI at the point I marked in a bellow picture.I use LabVIEW 2016.

 

Finally, I'm sorry that I'm not good at English. I'm Japanese...

Thank you for reading to the end.

 

0 Kudos
Message 1 of 7
(4,540 Views)

I found more information about my program.

If I don't use "case structure" around "eye direction_subVI.vi" the error still occur.

However, if I don't use the "case structure" and directly program(not using subVI), the error doesn't occur.

I don't know its meaning. Can anyone tell me what happen?

0 Kudos
Message 3 of 7
(4,499 Views)
Solution
Accepted by topic author nicole12

I solved myself !

Thank you for reading and thinking my problem.

 

0 Kudos
Message 4 of 7
(4,480 Views)

Thanks for accepting a solution.

 

Would you mind sharing the solution? That might help others in the future.

0 Kudos
Message 5 of 7
(4,473 Views)

Sorry, I write the solution.

 

When I programmed, I referred to this  "https://forums.ni.com/t5/LabVIEW/IMAQ-extract-1074396077-Crop-Image/td-p/3142082".

 

I solved my problem with the save, close and reload.

 

Message 6 of 7
(4,456 Views)

The image type solved my issue as well along with using Convert an IMAQ Image.

Thank you.

0 Kudos
Message 7 of 7
(4,351 Views)