Example Code

Grab Images With Replay

Code and Documents

Attachment

Overview

This example demonstrates how to continuously acquire images while keeping a "history" that can be replayed.

 

Description

This example allows the user to grab images and keep a specified number of frames in memory so that they can be replayed. The user can choose between grab and replay modes by switching the Replay Mode button.

 

Requirements

Software

  • LabVIEW 2012 Base Development System (or compatible)
  • Vision Acquisition Software

 Hardware

  • Any camera that is compatible with Vision Acquisition Software

 

Steps to Implement or Execute Code

  1. Download the attached VI
  2. Select your camera from the drop down menu on the front panel
  3. Enter the desire number of frames to keep in the history in the numeric control
  4. Run the VI
  5. When you want to see a replay, switch the "Replay Mode" and the frame history will begin to loop

 Additional Information or References

FP.pngBD.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Applications Engineer
National Instruments

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