Example Code

IMAQdx Continuous Grab & User Triggered Snap

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Machine Vision

    Software

  • LabVIEW

    Driver

  • NI Vision Acquistion Software

Code and Documents

Attachment

Download All

Overview

Perform a software trigger to grab a specific image from the camera.

Description

This example uses IMAQdx to continuously acquire (grab) images from an IMAQdx camera. The example also uses a user push button 'trigger' to transfer an image to a buffer, thus creating a snapshot. This example is similar to the example: http://zone.ni.com/devzone/cda/epd/p/id/3613, but modified to use the IMAQdx driver instead of the IMAQ1394

Requirements

LabVIEW 8.6 "or compatible"

Vision Acquisition Software 8.6 "or compatible"

Steps to Implement or Execute Code

-Open and run the exmple.

-Follow the instructions listed on the block diagram

Additional Information or References

This example requires that you have the IMAQdx driver installed

code.png

**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit thisdiscussion thread**

Hope this helps.
-Ben

WaterlooLabs

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
learningaboutoptics
Member
Member
on

 If I'd like to do processing on the 'snap' inside of the case structure, how do I transfer the snap image data back out of the case structure? Basically, in this example the snap image is transferred into a buffer, but how would I get that same image back out?

Contributors