Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Grab errors 1074397153 and 1074397150

I'm getting the following types of intermittent errors:

  • Error -1074397153 occurred at IMAQ Grab Setup.vi    Possible reason(s):   NI-IMAQ: Cannot detect recognizable video source.
  • Error -1074397150 occurred at IMAQ Grab Acquire.vi:1    Possible reason(s):   NI-IMAQ: A timeout error occurred while waiting for the specified event. If waiting for an image, verify that all video data is acquired within the timeout period. If waiting ...
  • Error -1074397150 occurred at IMAQ Grab Acquire.vi:1    This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.

I'm using LV 8.2.1, NI IMAQ 3.7.1, NI Vision 8.2.0, NI vision Image Service Library 8.2.1.59, NI Vision Image Processing & Machine Vision 8.2.1.94, and the PCI-1411 card.

What could cause these errors and how to fix them?

Thankful for any help/ideas that you can provide.

0 Kudos
Message 1 of 11
(5,376 Views)
My first thought is to double check the cables. Can you try replacing the cables and see if you still get the errors?
0 Kudos
Message 2 of 11
(5,361 Views)

First check whether you are able to snap an image in max. If you are able to then post your code.

 

Also check this kb

0 Kudos
Message 3 of 11
(5,358 Views)

Hi,

 

Are you calling the IMAQ Open before you call these grab setup VI's?  I'm a bit surprised that the errors don't propagate there first.  I would also recommend trying to do this in Measurement & Automation Explorer--do you see the same error there?  If it is intermittent, it may be a cabling problem as muks suggested.  When you don't get these errors, are you able to successfully grab?

 

Cheers, 

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 4 of 11
(5,354 Views)
Cables were checked, most of the time it ran OK.  I can make the first 2 errors occur by disconnecting the cable at the camera to disrupt the video feed.
0 Kudos
Message 5 of 11
(5,332 Views)

I am able to snap the image in MAX.  Suspect some interruption in the video feed to cause the first 2 errors.  Any remote possibility of the Vision library error causing the 3rd type of error?

Thanks.

0 Kudos
Message 6 of 11
(5,331 Views)

Hi Marti,

 

I'm not calling IMAQ Open before calling the grab setup vis.  I use the sequence IMAQ Init, IMAQ Create, IMAQ Grab Setup, and loop with IMAQ Grab Acquire.  After the loop , I call IMAQ Close and IMAQ Dispose.  The Error outs are wired to the next vi.

 

MAX works.  When I don't get these errors, I can grab successfully.

Disrupting the video feed causes MAX to detect the first 2 error types.  However, I'm not sure how the 3rd error type is caused.

 

Thanks for your help.

0 Kudos
Message 7 of 11
(5,325 Views)

edbd1 wrote:
Cables were checked, most of the time it ran OK.  I can make the first 2 errors occur by disconnecting the cable at the camera to disrupt the video feed.

That means a cable fault for sure. Why would you disconnect the cable when the acquisition is in progress?

 

Check this

 

and also this

0 Kudos
Message 8 of 11
(5,316 Views)
That third error (-1074397150) is a timeout error, which also could be caused by disconnecting the cables.  Did you any reason in particular for doing this during your acquisition?
Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 9 of 11
(5,306 Views)

I see from the other thread that the sequence of install is important.  I'll have to check with the folks at the destination site on how they had installed the new drivers and the software.  These errors did occur after we upgraded the motion and vision drivers.

I'd disconnected the cable at the camera to simulate any break along the camera to PC path.  It was the easiest to access on the equipment.  Normally, the cable is not tampered with during acquisition.

Thank you for all your help.

0 Kudos
Message 10 of 11
(5,298 Views)