Create parameters sheet in Vision Builder

I'm using Vision Builder AI (Trial), and I found it very interesting.
But, while you can configure complex vision inspection, it seems you can't
set-up one or more parameters sheets to for the user to change some treshold
or some min/max limit.
I saw this example: http://zone.ni.com/devzone/cda/epd/p/id/1705
but it uses Labview to create the form:
1 - I don't want to pay for the labview license only for some parameters settings
2 - The window is continuosly flickering during the execution,so it is very difficult to resize, move,oeven change someting in it!
So,is there any way to set some parameters sheet to let the user easly change inspection tresholds during the execution?
Thanks,
Simone.
Simone

Hey Simone,
Yes, your explanation does clear things up. I think you can achieve what you are looking for using User Input steps in VBAI 3.0 and you could do this by creating an overlay on a black image. The interface would not be very nice and clean though. The only way to do it without the awkward interface is that I recommend purchasing LabVIEW.
If there are only a few parameters you would like to be able to change, then doing it in VBAI 3.0 would be really simple and very clean. Now to have an entire sheet of parameters would be a little overwhelming. Are you familiar with “User Input”? There are ways to save the data acquired but no way to open the data once it has been saved inside an inspection. I would recommend checking out the User Input step, but remember that without LabVIEW you will not be able to open previously saved settings from a file.
This most recent release of VBAI was huge (we added the state diagram functionality) and we are always looking for ways to improve the software. I really like your suggestion and would love for you to create a product suggestion.
Kind regards,
Jordan
Jordan Randall
National Instruments Italy

Similar Messages

  • Problem with Vision Builder and LabView: Error -1074395995, File not found

    I have created an inspection with Vision Builder AI 2009 SP1. In it I load some pictures from the HDD and run some checks over it. It works fine. Then I have migrated it to LabView 2010, I get a message that the migration is successfull, but when I run the VI on LabView I get a fail status. I have been checking my program and I have found and error when I try to load the picture from file: Error -1074395995 occurred at IMAQ ReadImageAndVisionInfo
    Possible reason(s): IMAQ Vision:  File not found.
    But I am not sure which file it refers to. At first I thought it was the picture I wanted to load, but I have checked the path and it is correct, so maybe it refers to another thing. What puzzles me most is that it works perfectly on Vision Builder and I have changed nothing in LabView, maybe it is a problem with the migration. Any clues?

    Here's a screenshot of what I'm talking about. Put a break point here and see what the path is and compare that with what Vision Builder AI is using (described where to find this in the previous post). You could find where this global is used to make debugging easier.
    Hope this helps,
    Brad
    Attachments:
    Generated Code.png ‏43 KB

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Vision builder AI 2011 incompatib​le with Vis created by Labview 2011 ?

    Hi,
    I have some issues to drive some motor by a Vi created under Labview 2011 using an inspection built under vision builder AI 2011
    The step for running  a Labview Vi said me that it only support 2010 VIs or earlier ? How two NI softwares 2011 can be incompatible ?
    So I try to save under a old version but this vi is part of a huge LLB...Is it possible to save this LLB as a 2010 version without saving all subvis .ctl etc.. ? I am a little confused...
    Thank you for your help

    You should be able to save the top level VI for previous to LV 2010, and all VIs from that LLB will also be saved to a LV 2010 version LLB that can be used by VBAI. There is a restriction that any VIs from a toolkit that you have to pay for (i.e. Vision), even if they are in your LLB will not be saved for previous, but driver VIs (i.e. Motion, DAQ, NI-IMAQ) if they are in your LLB will be saved in the resulting LV 2010 LLB.
    I realize this isn't ideal and VBAI will be supporting LV 2011 or a future version later. Another option will be to use the VBAI API in LV 2011 to have VBAI do just the image processing portion of your control system and do Motion, or other functionality in LV environment and control VBAI from LV using the VBAI API (this allows you to load inspections, run them, get images, and results, etc.), which does support LV 2011.
    Hope this helps,
    Brad

  • Imaq vision builder AI 1.0 not creating LV program

    I am using Imaq vision builder AI 1.0 to create Labview program through the option "Migrate inspection to Labview...." but it doesn't finds any files starting with IVB.....and the labview code is generated with these missing vi. Can any body suggest why this is happening.
    Regards,
    Mondeep

    Hi,
    The following knowledgbase article contains a patch that will allow Vision Builder AI 1.0 to generate code for LabVIEW 7.0.
    http://digital.ni.com/public.nsf/ 3efedde4322fef19862567740067f3cc/ 8ed7d85db6667a3a86256d79006f9331?OpenDoc ument
    Note:
    The latest version is 2.0
    Greetz,
    Jonas Van Otterdijk
    CIT

  • Vision Builder Crashes Labview

    I have an application where I need to acquire and inspect many high resolution images 3Mp at high throughput. 
    I'm using:
    LabVIEW 8.5.1
    NI-Imaq 4.1
    Imaqdx 3.2
    Vision Builder AI 3.6
    ISG 3Mp Camera through Startech 1394a PCI card
    In order to meet the cycle rate, I'm trying to multi-thread the application by having one thread that acquires images and enqueues them into another thread that saves them to the hard drive then runs the VBAI inspection.  The VBAI inspection then uses the "simulate acquisition" step inorder to load the image from the hard drive and make the appropriate measurements.  I've run the application and monitored the processor usage, and the processor seems to stay within 0-80%.  However, my application will crash intermittantly. 
    I've been able to repeat the behavior pretty reliably if I activate/toggle a ring control on my front panel while the cycle is running, and I can't do so if the VBAI thread is not running.
    I understand that this is could be a difficult problem to help debug remotely.  I'm wondering if there is anyone with similar experience, or some better way for me to creat a high throughput machine vision app with VBAI.
    Thanks,
    Ryan 

    Dear Ryan,
    You are right, this is difficult to debug remotely, but I can make a suggestion or two. Perhaps you've taken care of these, perhaps not...
    One potential downfall with this setup is running into a race condition. If you don't establish data dependency, and make sure that you save and close a particular image before trying to open back up again with VBAI, you could cause the behavior described. Race conditions would be even more of a concern if you were using a certain number of files as an image buffer, and then recycling through them. 
    What in this ring control? What does the ring control do?
    Have you tried generating LabVIEW code from your VBAI inspection, and then encapsulating the VBAI code in a subVI, and just passing your images into that instead of saving them to disk? I would suggest doing this to see if you still experienced the crashes when you are only working in LabVIEW, and without saving and opening images from disk.
    Let me know how things go; I hope the above suggestions provide some help. 
    Best Regards,
    ~Nate 

  • Vision builder ai

    Hello,
    I have a problem by LED function inspection test. This is on Vision Builder AI program. There is a camera, it captures an image. The images have a little different gain, brightness, contrast values, so the later inspections have different measure values. I would like to make a picture comparison between a captured image, and a reference image. After then, I would like to set the gain, brightness, contrast values automatically, like the reference image. 
    How can I make this? Whitch program? LabWIEV or Vision Builder AI?
    Thank, for your help!

    Dear koma1989!
    Is your problem still open?
    If yes, I suggest you to try with VBAI first, and if the results are not good enough, you can change to LV to create a more traceable application.
    In VBAI, (I'm using 2011 SP1) please choose the "Other.." option from "Run Inspection" section. Examples will open, and you can try out some, so you can get started easily in VBAI.
    I don't think there will be an already working solution for this application, but in my opinion you could put it together from example applications.
    If an example appears in Inspector interface (In title you can find "...-Inspector-..."), you can switch to edit mode via Inspection >> Switch to Configuration Interface
    From the examples I recommend you the followings:
    - Tutorial 4 - Tow cameras inspection
    - Classify Colours Example
    - Inspect Contours Example
    - Segment Color Image Example
    - And examples related to State diagram, since you have to check for differences, and than correct the image, so some processing regarding to the differences.
    I hope browsing examples will help to get some ideas, if you have any other questions, please don't hesitate to post them.
    BR,
    Balazs Nagy

  • Extract red image with Vision Builder Automated Inspection

    Hello
    I have 2 camera connected to a CVS and I want to process the images to have only the red part of the images.
    for that I tried to use VBAI but I din't sucess, I think nit should be in the vision assistant step, but I already tryed with "extract a color plane" and "treshold color", and when I test with an image it don't work.
    Does anybody know how to that?
    Thank you for your help

    Hello
    I may be find a way to delete everythimg that is not red by substract green and blue with vision assisatant, it seems to work.
    Now I try to extract only little part of the picture, only the part of the picture who are red, for that I created ROIs for some red parts of the images, and I want to record only this ROIs, to reduce the size of the file and kipping the same resolution.
    Does anybody know how to do that?
    I attach my Vision builder code to the message
    Thanks for your help
    Attachments:
    Color Example red-21-7-12h30.vbai ‏108 KB

  • Functions in IMAQ Vision for Labview same as those in Vision Builder?

    Hi all...
    i just have a simple question..Does IMAQ Vision for Labview has the same functions of Vision Builder?
    I know that with Vision Builder you can develop an application interactively...but does it has more functions than IMAQ Vision?
    So if i buy IMAQ Vision can i develop the same kind of applications that i would make with Vision Builder?
    I´m specially interested in color matching and color analisys functions.
    Thanks

    IMAQ Vision has much more than Vision Builder. Basically, VB was created using Vision and they implemented a good number of the functions in a menu driven format. However, there are many more functions available that were not integrated into VB.
    Vision does have some good color matching and analysis tools.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Disco Portlet definition in 9iAS: Get drop-down for parameterized sheet?

    The subject line says it all:
    If you have a parameterized sheet, should one get a drop-down of possible values when a Disco portlet is defined in 9iAS Portal? Or does one have to always type in the values manually?
    (I have created a custom item class with the LOV; works w/ Plus, Viewer, and Desktop.)
    John N.
    [email protected]

    After some interchanges with Support, it turns out that this functionality does not exist due to architectural issues regarding the Discoverer/Portal integration. The problem has been logged as a bug. They guess: Maybe 9.0.5.

  • Run-time License for Vision builder

    HI
    I have created a VBAI file for my inspection in, but now I want to transfer the inspection LabVIEW and build an exe to run the application.
    Now for running that application do I require a NI Vision Builder for Automated Inspection Run-Time License or a NI Vision Development Module Run-Time License.
    Thanks,
    Ninad Regundwar
    Junior Engineer | ARAV Technologies | www.aravtech.com

    Instead of migrating to LabVIEW, you might want to consider automating Vision Builder from LabVIEW and running your inspection by using the VBAI API.
    Check out the examples located here: C:\Program Files (x86)\National Instruments\Vision Builder AI 2013\API Examples\LabVIEW Examples.
    The VBAI API allows to start a VBAI engine, open and run an inspection and retrieve images and results for each step.
    When using this method, if you're running the LabVIEW program on the same machine VBAI is installed, you do not need to purchase the VBAI runtime, neither the Vision Development Module Runtime (unless you wish to process further the image returned by VBAI.
    If you need to deploy that LabVIEW application on a different machine, then you'll need to purchase a VBAI Runtime license.
    If you choose instead to migrate the inspection to LabVIEW, then you will need to purchase a full license of Vision Development module for your development machine (the code generated uses Vision Development Module VIs).
    If you choose to build the resulting code into a LabVIEW application and deploy it on a different machine, you will need a Vision Development Module Runtime License for the deployment machine (but not a VBAI license).
    Migrating the code to LabVIEW is recommended only in cases where you need to modify the code generated by VBAI. The code generated is indeed a lot more complex than using the VBAI API that I described in the first option.
    Hope this helps.
    Best regards,
    Christophe

  • My camera won't work with IMAQ vision builder

    I have a Hitachi camera , and a PCI 1407 frame grabber
    the camera works well in MAX under devices , but when I open the IMAQ vision builder , it not visible in the devices , and I can't open MAX from the vision builder. It's gets me that error "1074397163" at the end it has bad interface
    it's not the power supply of the camera since it works well at MAX , so its like the camera's name is img0 in MAX , and another thing in IMAQ vision builder, I tried updating my softwares but nothing happened, can anyone help please ??
    thanks

    Dalia, 
    I think I may need some clarification on what exact program and function you are using. Are you getting this error with the Vision Builder for Automated Inspection (VBAI)? Or are you using LabVIEW and are receiving this error from the IMAQ Init.vi?
    If it is in VBAI, and you are trying to acquire an image, the Devices should auto-populate in the Main tab of the Acquire Image setup. Simply select the camera and press Grab or Snap. 
    If it is in LabVIEW, right-click on the interface input of the IMAQ Init.vi to create either a constant or a control. If it does not auto-populate with the correct camera name as it is in MAX, "img0". Or you can change the interface name in MAX by simply right-clicking on the camera and selecting "Rename"
    Can you elaborate on what you are referring to when you say "the MAX explorer won't work in IMAQ"?
    Huntington W
    National Instruments
    Applications Engineer
    ***Don't forget to give Kudos and Accepted as Solution where it is deserved***

  • Vision builder AI shared variable sudenly damaged

    Dear Ni users.
    Description of aplication.
    We use NI vision builder AI together with siemens WINCC software. We use shared variables acros NI shared variable engine, so read and write some parameters over WiNCC.
    The  aplication witch was working for more then 1 year, and sudenly we have noticed that we cannot se NOT acces shared varables in WINCC.
    After examine what can be wrong we faund that we cannot so no tags from NI shared variable engine, so we think that somehow something crashed?
    Do you have any similar cases in future. We cannot acces into any shared variables accros NI distributed system manager?
    SEE THE ATACHMENT
    Under localhost the Vision Builder  is mising, like in this white paper from Ni.
    https://decibel.ni.com/content/docs/DOC-18647
    Thank you for help
    Attachments:
    Zajeta slika.JPG ‏34 KB

    Hi Bostjan_1234,
    What is the hardware involved in this setup? Do you use smart cameras?
    Have you tried the standard steps: restarting the system, defining a new tag/variable to see if you can see it in Distributed System Manager?
    I am looking forward wih great interests in your reply.
    Best regards,
    IR

  • Interfacing Vision Builder with Labview version 7.1

    i can't export my design in Vision Builder version 7.0 to Labview version 7.1 using the Create Labview VI under the Tools tab as taught in the demo on this website. please advise. thanks.

    Hello,
    Most likely, this is due to having a version of Labview that is newer than your Vision Builder / Vision Assistant software. There are updates available for both Vision Builder and Vision Assistant. These updates can be found at:
    Vision Assistant 7.0.1 if you previously had Vision Assistant 7.0
    Vision Builder for AI 2.0.2 if you previously had Vision Builder AI 2.0
    After installing one of the above, everything should work as you saw in the online demonstration.
    Hope this helps,
    Robert

  • Vision Builder AI and multiple cameras/image files

    Hi,
    We are trying to develop an inspection using Vision Builder for AI with 3 1394 cameras.
    We have setup the image output to save all images from the inspection, however it only saves the last image acquired during the inspection.
    Is it possible to have Vision Builder save the images from the other 2 cameras?

    VBAI only has the ability to save the last image. If you would like to save the other images you will need to port the inspection to LabVIEW, and use Vision to save the other images. The other option is to create inspection scripts for each of the cameras.

Maybe you are looking for

  • Write up value - table to show each write up posted

    Is there any table in asset accounting which shows write up values with individual write up postings made and its amount. For ex: In ANLC we can see write ups.But if i have posted write up twice one with 10$ and another with 20$ . ANLC shows in field

  • How Much Mac Do I Need? - Jump from G5 to MacPro w/LogicPro

    I'm consistently hitting the wall with my Dual 2.0ghz, 4GB of RAM G5 system while trying to mix typical pop/rock projects (that is, I keep getting the system overload message, even when I freeze most of my tracks). I'm getting ready to trade up to a

  • Connecting Crystal Reports to unicerse

    I am trying to connect to a SAP universe through Crystal Reports 2008. The connection to the universe is made and all the universes in the repository are seen. But when objects are selected to form a query it shows a error message called 'logon faile

  • Vendor document With-holding tax

    I encounter one issue, one of my vendor document, in line item1, additional details, it shows Disc. Base: 3200 THB, but if we go to tax tab, it shows: tax at payment , witholding tax base: 3000 THB, why two Disc base is different?

  • Multifunction printers display menu, photosmart plus e all in one B210 series

    Display menu says there's a memory card error. Unable to use the regular menu or copy. I haven't used a memory card. Followed the instructions in troubleshooting.