ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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

Risolto!
Vai alla soluzione

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
Messaggio 1 di 7
6.333Visualizzazioni
0 Kudos
Messaggio 2 di 7
6.297Visualizzazioni

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
Messaggio 3 di 7
6.292Visualizzazioni
Soluzione
Accettato da autore argomento nicole12

I solved myself !

Thank you for reading and thinking my problem.

 

0 Kudos
Messaggio 4 di 7
6.273Visualizzazioni

Thanks for accepting a solution.

 

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

0 Kudos
Messaggio 5 di 7
6.266Visualizzazioni

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.

 

Messaggio 6 di 7
6.249Visualizzazioni

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

Thank you.

0 Kudos
Messaggio 7 di 7
6.144Visualizzazioni