Overview
This code allows you to acquire images from a trigger or event. Typical use cases involve taking an image on each pulse of a quadrature encoder, or along a pulse train.
Description
This code waits for an event to occur (in this case a button push, but it could be any event - a digital line going high/low) and then acquires an image from the IMAQdx camera. It then stops acquisition and restarts. Performance of this VI could be improved by configuring the camera to use hardware triggering by configuring the camera attributes.
Steps to Implement or Execute Code
- Run the VI
- Push the Trigger button.
Requirements
Software
LabVIEW 2010 or later
NI IMAQdx driver
Hardware
Camera
Additional Images or Video