Error -1074396154: Image Is Not Large Enough for The Operation

Updated Jan 17, 2023

Reported In


  • LabVIEW


  • Vision Acquisition Software

Issue Details

My NI vision program uses an IMAQ Create VI to allocate memory to my image acquisition. However, when I try to pass the image reference to another function such as the IMAQdx Get Image VI, LabVIEW throws the following error:
-1074396154 Image Is Not Large Enough for The Operation

How can I troubleshoot this error?


A common solution to this problem is to call the IMAQ SetImageSize VI after the IMAQ Create VI in order to set the x and y resolution values of the expected image.

In the example below, the IMAQ SetImageSize VI should be called prior to calling the IMAQdx Get Image VI as shown. The X Resolution and Y Resolution are set to the appropriate values for this application; the values for your specific application may differ.