Error 1074396159 Occurred at IMAQ Set Image Size

Updated Aug 17, 2020

Reported In

Software

  • Vision Development Module
  • LabVIEW

Issue Details

I am reading images in my LabVIEW with Vision Development Module. I am using IMAQ Set Image Size VI for the application and I encounter the 'Error -1074396159 occurred at IMAQ Set Image Size'
The error shown not enough memory for requested operation when I am reading multiple images in single loop. What is the problem and how can I resolve this issue?

Solution

Error -1074396159 of IMAQ Set Image is occurred due to the buffer setting. In order to resolve the issue, you should first create enough buffer in the beginning of the coding to read images. 

IMAQ Create VI can be use to create the image buffer. For example if you are reading the images from 4 different files in you PC, you should create the buffer for 4 times at the beginning of your application and you are able to display 4 images in one time execution. 
 
The idea is as below: 
You can modify the example according to the number of image you want to read per time.