LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GigE camera - grab image with black bars

Solved!
Go to solution

Hi everyboby,

I am using Ni vision acquisition to grab images from a GigE camera.

I recieve images just as I trigger the camera - so fare so good.

Every other picture shows some black bars.

 

Does anyone has an idea what it could be?

It's not the hardware, the camera works perfect with the SDk form the manufacturer.

 

Thanx for any help

0 Kudos
Message 1 of 3
(3,167 Views)
Solution
Accepted by topic author labview_vr
Sounds like an incomplete frame, this could be caused by missing packets.  To prevent missing packets during acquisition you can do two key things: ensure the packet size configured on the camera does not exceed what the network adapter can handle, and ensure that the bandwidth of image data being output by the camera does not saturate interface bandwidth.  I would lower camera packet size to 1500 initially to determine if the packet size  is the cause of the problem.  You can throttle how much data the camera can send by manipulating the interpacket delay, some manufacturers have a very handy feature called StreamBytesPerSecond.  Depending on which mechanism you can use, increase interpacket delay or reduce StreamBytesPerSecond.
0 Kudos
Message 2 of 3
(3,154 Views)

You were right about the missing packets.

I increased the 'packet size' at the 'acquisition attributes', now it sure works great!Smiley Happy

 

 

I appreciate the help

0 Kudos
Message 3 of 3
(3,146 Views)