Error -1074360317: Invalid Pointer with NI-IMAQdx

Updated Nov 14, 2019

Reported In

Software

  • LabVIEW

Driver

  • Vision Acquisition Software
  • NI-IMAQdx

Issue Details

I have written a VI that uses IMAQdx functions, but I receive Error -1074360317 when I attempt to run the VI.

Possible reason(s):  
NI-IMAQdx: (Hex 0xBFF69003) Invalid pointer

 

Solution

  • This error can be caused when a IMAQ Create VI is not used to create an image. Using an image constant or control will not allocate memory for the image; this can only be done with IMAQ Create.
 

Improper image declaration of the Image In Reference if not initialized by IMAQ Create before reaching this point


Example of Proper Image Declaration with IMAQ Create
  • Alternatively, this error might be caused by closing the reference to the image while it is still required in another part of the code. This may be solved by ensuring that the IMAQ Dispose is called after all IMAQ and IMAQdx VIs that require this memory location have finished executing.