Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Changing the Color of an Overlay in Vision Builder for Automated Inspection (VBAI)

Primary Software: Vision Builder for Automated Inspection
Primary Software Version: 3.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: I want to perform several overlays as part of my VBAI inspection. How do I change the color of these overlays?

Solution: The overlay functions that are currently part of VBAI do not allow for you to programmatically choose the color of the overlay. Therefore, there is no native function in VBAI that allows you to choose this color. However, you can use LabVIEW to perform this function within VBAI. There is a step within VBAI, Run LabVIEW VI, that allows for you to run a previously designed LabVIEW VI. This step allows for you to associate VI controls and indicators with VBAI results and parameters, respectively. That is, the output from a VBAI function, such as hole diameter, could be designated as the input value for a LabVIEW VI control. Therefore, you can write a LabVIEW VI to perform the overlays. You would want to associate the following parameters as controls for the LabVIEW VI:
  1. the information to be overlain
  2. the color of the overlay
  3. the position of the overlay(s)
  4. the image
Using this step within VBAI, you can now choose the color of your overlay function.

Related Links:

Attachments:





Report Date: 08/29/2006
Last Updated: 09/01/2006
Document ID: 40SC9NIZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit