Error -1074360239: The Image Passed Is Not Currently Configured in the Ring

Updated Nov 1, 2023

Reported In

Driver

  • NI-IMAQdx
  • Vision Acquisition Software

Issue Details

When running multiple instances of my IMAQdx code in parallel, I get a stream of Error -1074360239
Error -1074360239 occurred at an unidentified location
Possible reason(s):
The image passed is not currently configured in the ring

Error -1074360239: The Image Passed Is Not Currently Configured in the Ring

Solution

  • Check you have unique names for the images and ring buffers that you are creating. In particular if you have multiple calls of the same code, make sure there are unique names for the images and buffers between parallel calls of the code.
  • Check your code for race conditions and potential for the image in the buffer to be overwritten before the read functionality has a chance to retrieve the image from the buffer.
  • Making a copy of the image from the buffer for further processing and releasing the buffer reference is good practice to allow acquisition to keep up. Work with and process the copy of the image.