LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using image grabbing in loop

Hi,

We're currently building a machine vision application using 4 cameras at the same time and tried to implement some sort of passthru of all 4 by using a while loop with inside it a sequence to switch channels and grab the images. Somehow this only gives us completely weird images with several black lines through them. It looks like something to do with other system activity because when you move windows or use other programs it gets worse. However, that must be something I'm doing wrong, working on a P4 1.5GHz...

If someone could give me a hint or has any ideas, they would be very welcome.

Thanks
0 Kudos
Message 1 of 3
(2,674 Views)
Are you reading the images from a buffer or directly from the device? It's possible you're doing software timed acquisition which is not reliable -- you are at the mercy of Windows and the software speed to properly acquire your images.

Without a small example it's difficult to determine the cause of the problem....

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

0 Kudos
Message 2 of 3
(2,674 Views)
Thanks, that helped to put me on the right track.
It seems that the pc is so fast the framegrabber can't always keep up. Apparently the syncing couldn't keep up. Now it was solved by telling the framegrabber more precisely when to look/stop looking for the sync signals so it doesn't waste any time looking in the wrong place.

Thanks, Jeroen
0 Kudos
Message 3 of 3
(2,674 Views)