From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Virus scan in progress. Please wait to download attachments.
Overview
This example demonstrates how to insert Regions of Interest (ROIs) into an example image using event structures.
Description
This VI has a couple of preset ROIs that appear and disappear based on user events (button clicks). They show up separately or together, with the use of the IMAQ Group ROIs VI.
Requirements
Software
LabVIEW Base Development System 2012 (or compatible)
Vision Development Module 2012 (or compatible)
Hardware
No hardware required
Steps to Implement or Execute Code
Download and extract the attached file "Show ROIs in Image using event structure LV2012 NIVerified.zip"
Open VI and follow the instructions in Front Panel and Block Diagram and run the program.
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Jeff | LabVIEW Software Engineer
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.