My setup consists of VBAI 2015 and two Basler Racer Line Scan cameras. Originally, I had one camera in the setup which was working just fine on the VBAI side of things. The cycle between each image taken was roughly around 12-16 seconds depending on the material. I have an encoder triggering the line start trigger to grab the number of lines for a frame. The amount of lines the camera was grabbing for a frame always exceeded the specified height (the number of lines in one frame) with the one camera so there was always a second frame not filled to the height. So, what the camera does is holds on to that second image till enough lines are taken to fill the rest of the frame. This will get your second image. We didn’t want that, we wanted to start a new blank frame for the next image. So, we made it where the camera would timeout between cycles which then caused the excess lines to be erased. If we were to fill in the half empty frame, the image would not be consistent. You could tell where the first section of the frame ended and where the next began since the material scanned didn’t line up. This would throw off our measurements in VBAI so we decided to start a new frame instead.
After installing the second camera and copying all the settings to the hardware, I used the same VBAI file and just add a new state for the second camera with the same Read/Write Attributes Step as the first camera. But now instead of starting a new frame after the timeout, the partial image leftover stays and messes up the next image causing the VBAI to get bad readings. Is acquiring images from two cameras in one VBAI causing problems with getting the images from both? If not, is there a sure-fire way to make it where the camera always starts a fresh frame on each grab such as being able to delete the second unfilled frame?
Any advice will be helpful. Thanks!
P.S. Sorry for long explanation.