Vision Builder for Automated Inspection and communication to external programs

I want to use Vision Builder for Automated Inspection in my application to do the vision tasks. However, the vision task
is only a part of the total application. Like for example, the application starts by reading the input of a barcode scanner.
Based on the value of the barcode, the proper program should be loaded in Vision Builder for AI. I was thinking about
using the .NET environment to build the application and call Vision Builder for AI from out of there. Is this possible? If
not, are there other solutions?
Thanks!
Bert Christiaens

Hi Bert,
Vision Builder includes a Product Selection functionality that allows to automatically change an inspection based on the result of a step. For example, if the interface to the barcode scanner is Serial or TCP, you can use the corresponding step in Vision Builder to read the barcode, and based on the result select the appropriate inspection.
That is if you want to stay within the Vision Builder environment.
If your application is already written in .NET and you need to add Vision to it, then as mentioned in the post above, Vision Builder has a programmatic API that you can call from .NET (example located here:
C:\Program Files (x86)\National Instruments\Vision Builder AI 2011\API Examples\dotNET Examples
The API allows to programmatically load an inspection, run it and get results, close it, etc. From the information you're providing, it seems like it might be the option that is the most appropriate to your application.
Best regards,
Christophe

Similar Messages

  • Vision Builder for Automated Inspection: Image randomly appears upside down

    Hi everyone,
    I seem to be having a rather unusual problem here. I'm using an IDS UI-6280 camera to simply take a picture and log it to a file every minute. However, about 50% of the times when I start VBAI, the image appears upside down. The only solution I have found so far is to close VBAI and start it again. It usually takes a couple of tries before the image turn back up again, and then it's okay for the next couple of times I open VBAI. I have found no clues at all as to what could be causing this. Has anyone experienced something like this before?
    Clarification:
    - Once VBAI is running, the image does not flip randomly. If the first image is upside down, so are all the subsequent images. If the first image is upright, so are all the subsequent images. The flipping only seems to happen when I open VBAI. 
    - The flipping only seems to happen when I use VBAI. Using the IDS software always gives an upright image.
    - There is about a 50-50 distribution between upside down and upright images. However, there seems to be some pattern in when the flipping occurs. I just opened and closed VBAI 10 times, the upside down and upright state occured in an order like this (x=upside down, 0=upright): x0xxx00000
    Any help or insights would be greatly appreciated!

    1. Does the camera have an attribute for flipping it? If it does, the camera may not handle this attribute well when VBAI sets this attribute in conjunction with the other attributes as fast as VBAI can when it is initializing the camera. Most cameras respond when they are done and ready for the next attribute to be set, but some cameras respond before the attribute is done being set and can get in a messed up state if another attribute is set too quickly. You could try using the Read/Write Attribute Step in VBAI to manually set the flip attribute off before you acquire (make sure to set the flag to always set this attribute even if the current value is the same as what it will set to).
    2. If you acquire an image in MAX, is it upside down? Try Clicking on the camera in MAX, acquire, click to another camera or to another device (this will release the resources for the camera), click back on camera again in MAX and acquire again. Repeat this several times and see if you have the same flipping behavior as in VBAI.
    3. If you create a new inspection with just an acquisition step, does it still happen? Make sure not to change any of the default attributes for this test case. This will ensure the VBAI step uses the same settings you would see in MAX.
    4. What if you try using Snap Shot mode in the acquisition step instead of Immediate mode.
    Hope this helps,
    Brad

  • VI Problem using LV8.2, Vision Builder for AI 3.0

    Dear All,
    I have problem that that some vi are missing while I upgrade LV and Vision bullder for AI.
    Origional: LV7.1 & Vision bullder for AI 2.0
    New: LV8.2, Vision Builder for AI 3.0
    I don't konw why the error happen. Please give advice for me.
    Thank You
    Attachments:
    Error.PNG ‏22 KB

    Hello HeartShield,
    If you double-click on each missing subVI error, you should be taken to a location on the block diagram where a question mark is holding the place of the missing subVI.  Right-click on the question mark, select Replace, and then navigate through the palettes until you find the VI.  Clicking on the VI in the palette completes the replace operation for that question mark.  After repeating this procedure for each missing subVI error, you will need to save your VI.
    Best Regards,
    T. McCarty 

  • Hi,I have uploaded an app build for pre release  and its still under processing So i uploaded a new build but still the issues is not resolved.Please help...Thanks

    Hi,
    I have uploaded an app build for pre release  and its still under processing So i uploaded a new build but still the issues is not resolved.
    Please help...
    Thanks

    Hi smithin, 
    Thanks for visiting Apple Support Communities. 
    It sounds like you've submitted an iOS application to the App Store, which is being processed, but there's an unresolved issue.
    For additional help with this situation, Apple Developers can use the contact methods on this page:
    https://developer.apple.com/contact/
    All the best,
    Jeremy 

  • Enable Hosted Domain for Calendar Server and Communication Express

    Hi there,
    I did not enable the hosted domain mode during the installation and configuration of Calendar Server and Communication Express. Can I enable this mode after this for both of these components?? If yes, what should I do??
    Thanks in advance for any advice.

    Hi Russ,
    We have the same problem as Matt.
    We have properly set up OCS Email it works well both inside and outside our network.
    The only thing that appears not to be working is the email notification capabilities of OCS Calendar.
    We have changed sendmail.cf as stated in the documentantion.
    we are using -
    RedHat Advanced Server 2.1,
    sendmail 8.11.6
    bind 9.1.3
    I would be very gratefull of any information on this, as we're out of ideas...

  • Template builder for adobe pdf and excel

    Hi All
    I couldnt find plugins and template builders for adobe pdf and excel.
    some pointers pls..
    thanks
    cm

    Rainer,
    I want to use this PDF Templates in EBS, is it possible?.. and also I have 10 sample output pdfs and one RDF for my AR Invoice Report.
    For this scenario do i require PDF Writer Software?.. I am new to develop reports in pdf templates.
    please adivce me
    with regards
    Ram

  • Visual studio community with external program - license

    Hello. I have a question about using Visual Studio Community. Are the license allows to use Visual Studio community to only write (and testing) an application/game and then building it using external program for example Eclipse or Xcode for commercial purposes?
    I create for Android/IOS systems, and working in small 2 persons team.
    Sorry for my English, thanks.

    Can you give me an email from Microsoft licensing specialist?
    @ Metoby,
    Sorry for that I also have no email of the license memebers.
    In addition, you know that this forum is to discuss the English language issue, so I provide the license call for the English support.
    If you want to use other language, one idea is that you could post this issue to your local country if it also have the MSDN site.
    Maybe this link would be helpful for you:
    http://www.microsoft.com/licensing/existing-customers/activation-centers.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can an add-on like Firesheep access and execute an external program like Winpcap? Is that a security flaw in Firefox?

    I have been reading about the Firesheep add-on that allows the user to hijack sessions of users on the network by stealing the cookie. I understand that to prevent any application from stealing the cookie, the cookie should not be passed by the site without SSL. However, my understanding of how Firesheep works is that it interfaces with Winpcap (a network sniffer). So my question is "How can an add-on execute an external program or operating system command like Winpcap?" Can any add-on do this and should I be extremely afraid of downloading any add-on because of the potential that it could have complete access to my system?

    Hi Scott-L.
    You asked a very good question and it turns out you're right.
    However, one must be aware that download an Addon on another website that Mozilla may be dangerous. Indeed, the Addons found on the Addon Center are checked (roughly).
    In addition, Firefox includes a blacklist that blocks addons identified as malicious.
    More information here: [http://www.computerworld.com/s/article/9193420/Mozilla_No_kill_switch_for_Firesheep_add_on?taxonomyId=17&pageNumber=1]

  • TFS 2013 Build for PL/SQL and Oracle Projects

    Hi,
    We use TFS Build with SQL Server Projects.
    We also have PL/SQL projects .We are using MSSCCI to check in and check out files. Is there anyway we can use TFSbuild  for these projects( [PL/SQL]/Oracle) too ?
    Thank you.
    Su

    Hi Su, 
    Thanks for your post.
    How do you manually build  your PL/SQL/Oracle projects?
    TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
    If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
    then create build definition using this customized build process template.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can i compare two color images in vision builder for AI?

    What i want to do is to compare two images. I have a base color image that represents the desired colors and tones. I have another image to be compared to the base image. What i want to do is to compare this two images to know how close they are regarding contents of color and tones. In other words, i want to know how close is image 2 to image 1 (base sample)....
    I would like to know how to get the content of certain colors in an image and then compare this values with the same values from another image.
    For example..i have two sheets of paper that contain various mixed colors...i want to know the amount of green, red an blue in each image and then comapre this values.
    What i want to do is to compare difer
    ent samples of fabrics. this fabrics must be of a specified color...but due to the process they may vary in tone or even color...so i want to compare this fabrics to a amster sample to see how close they are in color and tone..
    Anything would help since i dont have experience in this type of comparisons...thanks

    VBAI allows you to work with grayscale images only. You can acquire an image, use the vision assistant to convert it grayscale by extracting the luminance plane (or any of the other color planes) and then analyze the resulting grayscale image. To do what you are talking about, though, it would really be better to get Vision for labview. You could then take color images, compare color plains, use statistical functions to determine average color values, and so on.

  • Vision Builder AI import inspection error "Invalid Inspection file selected."

    I am attempting to import an inspection into another and get an error 
    Open Inspection:
    -Invalid inspection file selected
    I have been able to successfully import other inspections in the past but for some unknown reason these two inspections that I am trying to merge are having trouble..
    Thank you
    Pete

    Hi Pete,
    -Is it possible to upload the inspection file for which you are getting this error?
    -Can you explain more on this inspection file? What it does?
    -From where did you get this or you created this file? If so, from what version of VBAI it is created and what version you are using?
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • New Build for CS4, CS5, and upgrade

    Hardware problems, and I have to upgrade even though I can't afford it.  I only need to run CS4, but I want to try to keep an easy upgrade path to MPE and more RAM.  I think I can run CS5 on this rig for SD; do you agree?
    I've been following the various discussions (including the latest "CS4" and "Budget build" and I have searched this forum for each component.  But this is complex and a moving target.  so before I spin my wheels more, what do you think?  My decision point for several things has been what is cheapest without totally ignoring quality.  Several of these components appear to have mail in rebates that are not reflected in the price.  Total is about $1400.  (All newegg.)
    I did forget to swap a velociraptor system drive; adds about a $100.  From what I have read here, I can do without additional CPU cooling for now?
    Please comment on these components.
    Mainboard
    ASUS P6T SE LGA 1366 Intel X58 ATX Intel Motherboard
    $194.99
    CPU
    i7-930 Bloomfield 2.8GHz LGA 1366 130W Quad-Core Processor BX80601930
    $289.99
    Case
    AZZA Solano 1000 ATX Full Tower Case
    $94.99
    Power Supply
    CORSAIR CMPSU-850TX 850W ATX12V 2.2 / EPS12V 2.91 Power Supply
    $129.99
    Graphics
    EVGA GeForce 9400 GT 512MB 128-bit DDR2 PCI Express 2.0 x16 HDCP Ready SLI Support Video Card
    $49.99
    RAM
    G.SKILL PI Series 6GB (3 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL7T-6GBPI
    $159.99
    System Drive
    WD Caviar Black WD6401AALS 640GB 7200 RPM SATA 3.0Gb/s
    $74.99
    Media Drives
    WD Caviar Black WD1001FALS 1TB 7200 RPM SATA 3.0Gb/s (3 @ $87.99 ea)
    $263.97
    OS
    Microsoft Windows 7 Professional 64-bit 1-Pack for System Builders - OEM
    $139.99

    >info on the actual building
    I didn't post any pictures... so a couple of thoughts
    1st is I am OK with my mid-tower, but a full tower would be better so all the various cables wouldn't be so cramped
    2nd is that I mounted the CPU cooler after the motherboard was in and ram installed... this was in case there was a problem with the non-Intel cooler getting the way of ram install, which turned out not to be a problem with the brand/model I picked... and it was VERY nice that there was a cut-out in the motherboard mounting area to allow me full access to the back side of the motherboard to mount the cooler
    Actually, a 3rd thought is that I added 2 side fans right over the CPU and nVidia card, so have plenty of cooling even though I do not overclock

  • Is there a way to bypass the first two inspection block after first cycle in Vision builder AI?

    I want to inspect the C-C of a matrix of holes (holes side by side). But when I do re-cycle the routine, the hole #'s change location (not in same place twice) and the my C-C are all not side by side and all over the place. For example, diaganal 4 holes away, etc...

    laj,
    I'm not sure that I completely understand the question that you are asking in your post. You may want to repost your question with some additional information and explanation to allow this forum to help you more effectively.
    As for the question that you posed in the title of your email, can you bypass the first two steps of your Vision Builder for Automated Inspection (VBAI) script? The answer is unfortunately no. VBAI is designed to repeatedly run through the same script and does not allow only a portion of the script to run.
    If you need more control over your application than VBAI can provide, you may need to move a programming language like LabVIEW, which will allow for lower level decision making.
    Please post a follow up if you have any additio
    nal information you would like to add, or have additional questions.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments

  • 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

  • Vision Builder AI: (Hex 0xFFFA960C) Cannot open the inspection file.

    I hav built an inspection in vision builder for automated inspection (the code , image and inspection is provided in the attachment)
    but my program is unable to open the inspection it is throwing an error : Error -354804 occurred at VBAI Interface - Open Inspection.vi .
    I am using the NI 1742 smart camera and running the program on this remote target
    I am not getting the reason for this error.
    If smbdy can solve.. please...
    Solved!
    Go to Solution.
    Attachments:
    barcode_test1.vbai ‏144 KB
    TEST2.vi ‏63 KB
    img.png ‏320 KB

    I am having this same issue.  I do not have Labview Real-Time.  The Open Inspection.vi returns the error of 
    Error -354809 occurred at VBAI Interface - Open Inspection.vi
    Possible reason(s):
    Vision Builder AI: (Hex 0xFFFA9607) The validation of the inspection returns errors.
    This error has to be the path chosen no?? Any help would be greatly appreciated.
    Steve Loescher
    Test Engineer 
    Attachments:
    NICameraTest.vi ‏20 KB

Maybe you are looking for

  • When I click on my Messages app I can see it for a brief moment and then the screen goes blank

    When I click on my Messages app I can see it for a brief moment and then the screen goes blank.  This happened to me last week and I Reset All Settings, which worked-but it has just happened again so that's not a long-term solution.

  • Won't match my Serial Number?

    the website registration form won't match my serial number so i called the apple store. They said this was a known problem and to mail in the registration form. I've been looking all over the site but i don't know where to find the print out form. Al

  • Corrupted captivate 6 file

    I've tried all the solutions involving zipping files and changing the extension. What else can I do? Is there somebody to whom I can send the file and have them try it?

  • HT204053 i can buy the items on apple store but i can buy items in game

    Like I said I can buy apps, but I cant buy the game items. And I bought some useless apps, Can I refound them ? And it's always says contack apple support

  • ICloud not syncing existing data?

    I have setup iCloud on my ipad, iphone. Why is it not syncing any of my stuff? Example.... My iphone has all my contacts, ipad doesnt yet. after iCloud was setup, my ipad STILL did not grab anything from my phone, ie..contacts, calender, etc. BUT if