05-24-2010 05:59 PM
I'm getting the following types of intermittent errors:
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.
05-25-2010 08:36 AM
05-25-2010 08:41 AM
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
05-25-2010 09:21 AM
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,
05-25-2010 06:06 PM
05-25-2010 06:07 PM
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.
05-25-2010 06:18 PM
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.
05-25-2010 11:54 PM
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?
05-26-2010 09:39 AM
05-26-2010 10:19 AM
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.