2e743b795101976bf072cdc7dbe1eb3b.ppt
- Количество слайдов: 25
Wednesday NI Vision Sessions Customize Vision Builder AI with Lab. VIEW Improving Machine Vision with Optics Camera Technologies for Life Sciences and Microscopy Infrared Thermography in Machine Vision Inspection Hands On – Compact Vision System
Using Lab. VIEW to Add Your Own Functionality to Vision Builder AI Christophe Caltagirone Staff Software Engineer – NI Vision Software Philip Wong Software Engineer – NI Vision Software
Vision Builder for Automated Inspection • Easy to use, interactive, menu-driven configurable vision software • Design Vision Applications – More than 40 powerful machine vision tools, such as pattern matching, particle analysis, OCR – Advanced arithmetic and decision-making capabilities – Digital and serial I/O – Built-in industrial protocols – Migration to Lab. VIEW • Deploy your Application (inspection interface)
How You Can Customize Vision Builder AI 2. 6 Added capabilities with new Vision Builder AI 2. 6: • Run Lab. VIEW VI Step – Run your custom VI from Vision Builder AI • Vision Builder AI Development Toolkit – Create your own Vision Builder AI step • Vision Builder AI Active. X control – Drive the Vision Builder AI engine from your application written in your preferred development environment
Run Lab. VIEW VI Step – Highlights • Add new functionality by writing and calling a Lab. VIEW VI in Vision Builder AI • Apply your own algorithm to the Vision Builder AI image • Leverage the power of Lab. VIEW and its toolsets and modules in Vision Builder AI
Run Lab. VIEW VI Step – Features • Use any Lab. VIEW feature within your VI • Set the values of simple controls in the VI to previous measurements or constants • Pass the Vision Builder AI image to your VI
Run Lab. VIEW VI Step – Features • Run and Debug your VI in Lab. VIEW • Use the values of the VI indicators in future steps
Run Lab. VIEW VI Step – Demo
Run Lab. VIEW VI Step – Considerations • VI must be written in Lab. VIEW 7. 1 • Cannot write code that requires cleanup • Supports simple data types: numerics, Booleans, strings, images. No clusters or arrays – VI cannot return points • Cannot draw regions of interest in the image window • Do not need Lab. VIEW to run the VI in Vision Builder AI
Development Toolkit – Highlights • Create Vision Builder AI native-looking steps
Development Toolkit – Use Cases • To interface hardware that needs to be initialized and released • End user needs to change parameters in configuration mode • Perform custom processing that requires specifying a region of interest interactively.
Development Toolkit – Features • Customize icon, description, and help file • Choose which menu tab contains new step • Access measurements logged by previous steps (including coordinate systems) • Create measurements/points available in following steps • Custom steps supported on NI CVS-1450 Series devices
Development Toolkit – Demo
Development Toolkit – Considerations • Must write your step in Lab. VIEW 7. 1 / NI Vision 7. 1 • Cannot create acquisition step for NI CVS-1450 Series device • Custom steps cannot be migrated to Lab. VIEW
Development Toolkit – Example
Run Lab. VIEW step vs. Development Toolkit Run Lab. VIEW Step Development Toolkit Low-level UI Native looking UI Targeted toward end Targeted toward system users integrators and OEMs VI called at each iteration Provide mechanism to add initialization and cleanup code Specify ROI coordinates Interactively draw ROI in in the step the image window Included with Vision Licensed separately for Builder AI $995
Vision Builder AI Active. X Control Highlights • Run Lab. VIEW step and Development Toolkit used to customize Vision Builder AI inspections • Active. X control used to drive the Vision Builder AI inspection engine within your application Gives programmatic access to Vision Builder AI Inspection interface
Vision Builder AI Active. X Control – Use Cases • Create custom user interface in Lab. VIEW or Visual Basic – Use your own logo – Retrieve the inspection image – Retrieve step results / statistics • Integrate into your application a vision inspection developed in Vision Builder AI • Transfer data between your application and Vision Builder AI inspection using TCP/IP
Vision Builder AI Active. X Control – Features • Connect to a local or remote target • Open existing inspection located on that target • Get list of inspection steps and corresponding limit values • Run inspection synchronously or asynchronously • Receive events when inspection is complete or when image is available • Retrieve step measurements, inspection pass/fail status, inspection statistics, and the final inspection image with overlays
Vision Builder AI Active. X Control – Considerations • Gives access only to results and actions/functions you can perform in the Vision Builder AI inspection interface • Step limits are read-only • Can retrieve only the final image, not images at any intermediate step • Cannot access resources that the inspection uses • Can only connect to one target at a time
Vision Builder AI Active. X Control – Demo
Summary • Vision Builder AI 2. 6 is an open application that provides many new ways to customize the default product. • Customize the inspection using the Run Lab. VIEW step or the Development Toolkit. • Customize the user interface with the Active. X control. • Integrate a vision application written in Vision Builder AI with the Active. X control.
Wednesday NI Vision Sessions Customize Vision Builder AI with Lab. VIEW Improving Machine Vision with Optics Camera Technologies for Life Sciences and Microscopy Infrared Thermography in Machine Vision Inspection Hands On – Compact Vision System
Thursday NI Vision Sessions Machine Vision in the Frequency Domain Architecting an Image Acquisition System Advanced Matching with NI Vision Tools
2e743b795101976bf072cdc7dbe1eb3b.ppt