To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example uses a DAQ device to create a pulse train in order to trigger an image acquisition.
Description
GigE Cameras are generally triggered via an external trigger line; the trigger method itself is described by the camera's manufacturer in the GeniCam XML File.
In this particular example, a DAQmx task is created to generate a pulse train; this pulse train ought then be wired into the camera's trigger line to control the Grab. The example thus requires a DAQ Device that possesses a counter output and is compatible with DAQmx. A property node is used to allow the user to chose the desired trigger mode.
Steps to Implement or Execute Code
Requirements
Hardware
This example requires a GigE Camera with an external trigger line. In order to trigger the camera, a DAQ device with a counter output is used; as such, an external connection must be made between the DAQ device and the camera. The DAQ device must be compatible with the DAQmx driver.
Software
LabVIEW 8.6 "or compatible"
Vision Acquisition Software 8.6 "or compatible"
NI DAQmx 8.6.1 "or compatible"
VI Snippet
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thank you AndyC! I am also trying to trig my GigE camera with a DAQ device. Your tutorial gives me useful ideas! (but unfortunately I can't run it since I only have Labview 8.2.1...)
Thnx Andi... very helpful for my work