title: Black lines on National Instruments ImageViewer control
body: <p>I'm using Point Grey GigE Blackfly cameras and the National Instruments Vision Acquisition Imaqdx namespace though C#. I've got a two loops, each in their own thread, that read from the camera and set the image in a winforms ImageViewer object.</p>
  
  <p>More or less, two of these</p>
  
  <pre><code>NationalInstruments.Vision.Acquisition.Imaqdx.ImaqdxSession _imaq;
  NationalInstruments.Vision.WindowsForms.ImageViewer _imageViewer;
  ...
  while(true)
      _imaq.Grab(_imageViewer.Image, waitForNextBuffer: true);
  </code></pre>
  
  <p>It works, but the images from the cameras have these black lines on them. Not unlike this-
  <a href="https://i.stack.imgur.com/4EoGq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4EoGq.png" alt="enter image description here"></a></p>
  
  <p>It gets worse as the number of cameras I connect to increases. After four cameras, it's mostly black lines.</p>
  
  <p>I've got jumbo packets set to 9014 bytes in my network adapter settings. The camera is set to use 8000 byte packets. There's another 200 attributes on the camera and ImageViewer control, but I've not found any that help and I'm not really sure where to go from here.</p>
  
  <p>Any ideas?</p>