Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 1772 Smart Camera periodically freezes

I am working with a NI 1772 smart camera and Vision Builder AI 2013 and I am running an inspection that is time dependant.

 

When running an inspection my camera will momentarily freeze or lockup or act really slow for a few seconds, then on it's own go back to running normal. Even running a simple inspection where I am just displaying this picture to the VGA monitor it will do this. I have tried adding delays to the loop thinking the CPU is getting overloaded with no improvement.  Runs good for about 60 seconds getting about 60 frames per second, then for about 10 to 15 seconds I only get about 1 frame per second, then suddenly returns to normal. This goes on like this indefinitely.

0 Kudos
Message 1 of 3
(4,352 Views)

Hi there,

 

Consider running one example (with and without the video output enabled) to check if the problem is with the code, If it’s not the code (performance issues, CPU usage) then it might be the video port that is malfunctioning.

Alejandro C. | National Instruments
0 Kudos
Message 2 of 3
(4,333 Views)

Ok, following up on this issue. I have resoved it. First off, I was wrong about my simple "take a picture" inspection. It wasn't as simple as I thought. It still had a little custom VI, that listened on the ethernet port for a command to "take pictures". It was the VI reference that was the issue. Apperently because my network has so much traffic, it seemed to be causing the program to slow (perhaps to process traffic not related to the camera). Disconnecting from my main network proved the easiest solution. If I run my camera and machine on it's own isolated network, I don't have the issue. Thanks for everyone who read this thread and attempted to help.

0 Kudos
Message 3 of 3
(4,311 Views)