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

Similar Messages

  • 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

  • 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 

  • ROLLOVER for a large image to appear

    I am redoing my previous website. In that site, I had movie
    clip within a movie clip. This new site will not work using that
    procedure.
    The new website situation:
    My website is setup with small images, two in a row and two
    columns of four small images 60pixels x 68pixels. Those are on the
    right side and also on the left side (with different set of small
    images). In the center, which is now blank, will be for the large
    image to appear.
    This is want I am aiming for: Upon MOUSE ROLLOVER on a small
    image, the large image is to appear in the center, not on top of
    the small image.
    The Large image is to come about whenever the mouse is rolled
    upon a small image.
    I am still learning Flash. Hope someone can assist me with
    the above mentioned situation.
    [email protected]

    Good point Dzedward,
    I think however that since she has only a few images, she
    could just turn her small images into buttons, create rollover
    states, and import the larger photo images into the middle space
    where she would like them.
    Should you like to try this Alice, it is extremely easy.
    turn each of your small images into buttons, double click on
    the new button, noticing now that there are four squares by the
    timeline titled "up" "over" "down", and "hit"
    Click once on the "over" box, then go to
    File....Import.....Import to Stage... scroll through your directory
    until you find the large image you desire. Import it.
    Now you can place it wherever you like, once that is
    finished, go up into the control panel between comand and window,
    then scroll down to "test movie"
    I hope this helps, and works for you.
    Should you have alot of images, this method would definately
    make your file size large, and hence upload much slower.
    Copel

  • When i send a photo taken on ipad it appears upside down at addressees but fine on ipad email

    when i forward a photo taken on ipad it appears upside down to addressees but fine on my ipad email as a cc copy?

    Here are links to four short MOV files showing the four orientations for the iPhone 4S. I had to upload them to DropBox for you as all of my available Cloud based mail programs choked on saving or sending these little video files.
    http://dl.dropbox.com/u/7584570/IMG_0061.MOV
    http://dl.dropbox.com/u/7584570/IMG_0062.MOV
    http://dl.dropbox.com/u/7584570/IMG_0063.MOV
    http://dl.dropbox.com/u/7584570/IMG_0064.MOV
    I usually record hockey games in Landscape mode with the Home Button of the iPhone on the left side with the screen facing me. That is the mov file IMG_0063.MOV
    Apple's QuickTime Player displays it correctly, while the VLC player, which ignores exif flags plays it upside down. So does the Plex Media streamer ignore the flag, so does the thunderbird mail app ignore the flag, and so on. Adobe looks at the exif flags so they get it right.
    My movies are of four Post It Notes, each one describing the location of the Home Button. Take a series of four pictures oriented like my test MOV files , then take 4 short MOV files of the same iPhone orientation. If the results are "misoriented" then the software you are using to look at them is ignoring the orientation flages.
    For more detail of this subject look at  http://www.impulseadventure.com/photo/exif-orientation.html
    JPEG Rotation and EXIF Orientation
    Digital Cameras with orientation sensors allow auto-rotation of portrait images. Unfortunately, support for this feature is not widespread or consistently applied.
    Digital Cameras with Orientation Sensors
    Many newer digital cameras (both dSLR and Point & Shoot digicams) have a built-in orientation sensor. Virtually all Canon and Nikon digital cameras have an orientation sensor. The output of this sensor is used to set the EXIF orientation flag in the image file's metatdata to reflect the positioning of the camera with respect to the ground. Canon calls their sensor the "Intelligent Orientation" sensor. It is presumably a 2-axis tilt sensor, allowing 4 possible orientations to be detected (shown in the left side of the diagram in the link above).

  • Screen image display is upside down

    I have a user with a Portege S100 who says that the image appears upside down - is this a facility or a problem? If a facility how does she return it to normal?
    Thanks

    As in the previous posting suggested the graphic card supports a NV rotate option.
    I assume the user has changed the screen to inverted landscape (180 degree rotation)
    As far as I know there is a key combination to change this option:
    Ctrl + Shift + R

  • Photos taken from iPhone appears upside down in windows explorer

    Photos taken from my iPhone appears upside down in windows explorer....

    Hi The problem I think ou are experiencing is because of the way you turn the phone to take pics. With the phone vertical (home button at the bottom) the pics you take will appear the right way up in all applications, the problem will occur when you hold the phone horizontally. If you hold the phone with the home button to the right the pics you take will appear the right way up in all applications, if you hold the phone with the home button to the left the pics will appear the right way up in the camera roll and some other apps that understand the iphone camera rotation but in other apps (iphoto and windows explorer are two) these photos will appear upside down.
    Hope this helps
    Doug

  • Vertical text in charts appears upside-down in Acrobat pdf

    When I copy a chart with vertical text from Tableau into Word and then Save as Adobe PDF, the vertical text appears upside-down.
    When I copy a chart with vertical text from Tableau into Word and then Save as PDF using Word's built in PDF creator, the vertical text appears correctly.
    This bug occurs in both Adobe Acrobat 11 and Acrobat Pro DC. Can Adobe fix this bug?

    Never mind. I solved the problem myself. It turns out I needed to embed the font I used in the text boxes. Once I did that, everything shows up fine.

  • When using panasonic remote2 app, videos shot on iPad appear upside down on the television.  This does not happen with videos from other sources. Any suggestions?

    When using panasonic remote2 app, videos shot on iPad appear upside down on the television.  This does not happen with videos from other sources. Any suggestions?

    Hi Steve
    worldweary wrote:
    Thanks again. I tried channel 13 and it seemed to work better, with less dropouts (albeit not perfect) but sadly my slightly ageing laptop wouldn't recognise the network at all with the Hub set to that channel, so I had to switch it back to 11!
    Will try the factory reset at some point to see if that improves things.
    I have the same issue with my iPad when streaming videos...like the issue posted on ‎25-04-2014 18h36 by Steve.
    Steve - Can you kinldy clarify how you resolved the problem finally.
    I was infact planning to change the iPad or sell it off due to this recurring problem.
    Thanks and regards
    Siva

  • I have an iphone 4s when I take pictures and send them to my computer or someone elses computer they so times appear upside down. Is it because I have windows? Can I do anything about this?

    I have an iphone 4s when I take pictures and send them to my computer or someone else they appear upside down. I have a window operating system. Is there anything I can do to reverse the pictures?

    OK, here's the explanation.  When you take a picture, the iPhone knows what orientation it is in (portrait, landscape, etc.) and adds that information to the picture's EXIF data so it knows which side is up.  Apple devices can decode this information and show the picture right side up when it is viewed.  However, Windows computers cannot do this.  They are not capable of decoding the orientation information added by the iPhone, so they are displayed in a default orientation (which may not be right side up).
    This only happens on Windows machines, and unfortunately there is nothing you can do about it, except use the rotation buttons in Windows picture view to orient the photo correctly.

  • IPhone 5, emailed photos or videos to pc appear upside down

    Emailing photos or videos taken with my iPhone5, about half the time the photos or videos appear upside-down or sideways on pc's using Outlook, though this never happens in email on other Apple devices.  This occurs on many different types of pc's.  Any suggestions or explanations?

    Probably a problem with MS Outlook. I have seen that before using outlook. Never have that problem using any other mail program.

  • 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.

  • Is it possible for deleted photos to randomly appear on photo stream?

    So I had a photo on my iphone 4s back in the spring, and I deleted it, but then last night it randomly showed up on my photo stream on my new 5s  when I know for a fact that it hasn't been there since I accidently deleted it off my phone back in the spring. Is this possible for it to happen through iCloud? So I know I'm not crazy.

    No, the iPod Touch cannot get a virus by visiting a website. There are no viruses that affect the iPod.

  • 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

  • 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

Maybe you are looking for

  • HP Pavilion Slimline S5: Internal HDD Failure, PC Won't Boot

    My HP Pavilion Slimline S5's internal HDD failed and died recently (bought in 2011). My HP warranty was long gone. The startup screen showed this message: 1720-SMART Hard Drive  detects imminent failure Failing Drive: SATA0 Failing Attributes: # 05 I

  • How can I use NSDictionaryControllers for 2 dicts with common key?

    I have two dictionaries, both with the same key. Using Interface Builder I can build for each dictionary a two-column table, but I did not find out how to connect their keys so that selecting a line in one table automatically selects the correspondin

  • ALE IDOC Problem...

    HI.. I am facing a problem on the inbound side. If I check the IDoc in WE02, I am getting a status error as "No status record was passed to ALE by the a" Customised IDoc is used. Please advise if you can Thnx

  • PROBLUM IN UPDATE WITH CURSOR

    Hi All I have a table a SQL> select * from a; A                   B          C          D vikas               6        100          0 vikas               6        101          0 manoj             500        102          0 manoj               6       

  • Adding external HD to network

    I have a Macbook Pro 10.5.8 and a iMac 21.5" 10.6.2 and a LaCie 500gb external HD. My iMac is delivering internet via AirPort to my Macbook since I don't have a wireless router. I want to plug the LaCie into the iMac and have access to it from the Ma