To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to determine the largest particle from a particle report generated by the IMAQ Particle Analysis Report VI.
Description
The VI can be given a minimum size, which will be compared to all particles in the report to check if any of them meet this size requirement. If no particles are found that are greater than or equal to the minimum size, the Object Detected? indicator will be false. Along with the largest particle's area and center of mass being reported, a bounding box is created (size 50 x 50 pixels) that can be sent to an IMAQ Overlay VI.
This VI is meant to be used as a subVI in another VI's block diagram. A test VI is attached to demonstrate how to do this.
Requirements
Software
Hardware
Steps to Implement or Execute Code
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.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Please convert it to LabVIEW 2012 version.
Done! It's now included as an additional attachment.