Example Code

Change ROI of Clamp Process While Acquiring Images from Camera

Code and Documents

Attachment

Download All

Overview

This example demonstrates how to continuously acquire images while has possibility to change clamp settings.

 

Description

This example allows the user to grab images and meanwhile set the ROI for clamp process. Once the ROI is selected, the settings for clamp process can be modified to make the measurement more accurate.

 

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. Run the VI
  4. Click and drag a ROI on the Image on the front panel
  5. Change Clamp Settings appropriately

 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.