Error -1074396077 With IMAQ Compute Average Image VI

Updated Jul 21, 2020

Reported In

Software

  • Vision Development Module
  • LabVIEW

Driver

  • NI-IMAQ

Issue Details

When using the IMAQ Compute Average Image VI, I receive the error below:

Error -1074396077 occurred at IMAQ Compute Average Image
Possible reason(s):
Incompatible image type.


What can I do to fix this?

Solution

This error occurs when the Images and Image Dst inputs for the IMAQ Compute Average Image VI do not have the same type of image (8-bit, 16-bit, RGB, etc.). To fix the issue, make sure that both inputs use the same image type.

Additional Information

You can use the IMAQ Cast Image VI to convert the current image type to a specified image type.

The default image type for the IMAQ Create VI is 8-bit. You can specify a different image type by wiring a constant/control into the Image Type input node.