Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with line-by-line triggering

We have a Basler L104k-2k digital linescan camera interfaced to a NI PCI-1428 frame grabber. We are writing our own custom software using VB6 and NI-IMAQ. We are trying to trigger the image acquisition off of our table motion so that slowing down the table will slow down the shutter speed, etc. We are controlling motion with a NI PCI-7342 servo card and have a RTSI cable connecting the 7342 and 1428 cards. We have been unable to acquire images by line-by-line triggering via the RTSI signal. We have looked at all of the examples we could find on the NI site and still have not been able to get this to work. We are setting up a signal in IMAQ to trigger off of the encoder and route it over RTSI, with some skiptrigger value (say 8000).
We only seem to be getting one line diplayed in the video image. We have used the basler camera setup tool to set the camera to ExSync, Level Control.

We are only allocating one image buffer in IMAQ. We are assuming that the grame grabber takes all of the individual linescans and composes one image out of them. In MAX, we have set the image height to 2048 lines. Any ideas? We have hit the wall on this.
0 Kudos
Message 1 of 2
(3,064 Views)
Attached is an example VI for acquiring images from a line scan camera, triggering the start of each image and the individual lines. This is not the most elegant of examples. You will need to declare the appropriate number of buffers in MAX before using the VI. The image is built in PC memory. For example, if your image is 2048 x 10000, then you will need 10000 buffers. If you have any questions, please feel free to contact Graftek Imaging, cbr 512-416-1099.

-Robert Eastlund
Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
0 Kudos
Message 2 of 2
(3,064 Views)