No Image - 1473R With Vision Assistant

Hopefully this is a simple fix and I'm missing something very obvious, so here is what's up. I'm originally a text programmer but for this project I'm stuck using LabVIEW which is completely unfamiliar; I've been working on this for days with no progress so I thougt I'd see if anyone had some pointers. The goal of the project is to use the PCIe-1473R FPGA to do live gain control, overlay, and maybe some recognition.
I started with the "Image Processing with Vision Assistant on FPGA" example and made a few simple changes to just attempt to get a video feed through. The camera we are using is a Pulnix TM 1325 CL, which outputs a 1 tap/10 bit Camera Link signal. Since this example VI is originally configured 1 tap/8 bit I changed the incoming pixel to be read as 1 tap/10 bit and compiled and tested. When I try to start video acquisition I get no errors but no frames are grabbed. The frame's acquisitioned count does not increase and nothing is displayed. If I switch to line scan I get a scanning static image, but this is not a line scan camera and my other NI frame grabber card shows an image from the camera fine.
I wasn't all that surprised with this result, as the input is 10 bit and the acquisition FIFO and DMA FIFO are both 8 bit orginally. So, I changed them to U16 and also changed IMAQ FPGA FIFO to Pixel Bus and IMAQ FPGA Pixel Bus to FIFO blocks on either side of the Vision Assistant to U16. With this configuration, I again get no image at all; same results. I suspect this is because the incoming image is signed, so the types should be I16 instead. However, there is no setting for I16 on the Pixel Bus conversion methods. Am I not understanding the types happneing here or is there an alternative method for using Vision Assistant with signed images? I'd think it'd be odd not have support for signed input.
Anyway, I've tried all the different combos of settings I can think of. Does anyone have any input? I feel like it must be either a buffer size problem or a signing problem, but I don't really know. Any and all input is welcome!
Thanks for helping out a new guy,
Kidron

I ended up resolving this issue by switching cameras. The end goal was to use a FLIR SC6100, so I switched to it and was able to get things working shortly. The FLIR does use unsigned ints, so I believe that's what resovled the issue for anyone running into this in the future.

Similar Messages

  • So I want to use an imaging device with Vision Assistant then incorporate that into my LabView 8.6 code. How can I do this?

    So here's what I have so far written, I have LabView program to interface with my microscope stage, autofocus. I want to try now to interface the camera using Vision Assistant.
    The procedure I want the program to perform is taking this CR-39 detectors and placing them on this stage and the camera to take images of this detector frame by frame. So I want the program to go to the very top corner of the detector on the stage. Then the camera would autofocus (if needed) and take an image. So this would take an image for every micron of the detector on that row. Then move to the next  and so on. Until it has successfully imaged the whole detector.  Is anyone well versed on Vision Assistant and willing to give some advice on this? It would be greatly appreciated.
    The purpose is eliminate the previous method of acquiring images by manually focusing on the tracks created by the particles. I want to this program to run itself without a user being present, so just pressing a button would send the program into autopilot and it would perform the procedure.
    What are CR-39 detectors?
    Allyl Diglycol Carbonate (ADC) is a plastic polymer. When ionizing radiation passes through the CR-39 it breaks the chemical bonds of the polymer and it creates a latent damage trail along the trajectory of the particles. These trails are further ethced using a chemical solution to make the tracts larger which can finally be seeing using an optical microscope.
    Thank you,
    HumanCondition

    Hi Justin,
    Yes I already have a vi that controls the stage.
    So the camera is stationary above the stage. Now what I want to do is get the camera to take the pictures of the detector by moving the stage frame by frame for example starting from the top right corner of the detector (by taking an image) then ending on the top left corner of the detector (by taking an image) then having the stage move down a row and starting the process over again until each frame (or piece) has been imaged.
    My goal is while the stage is moving to every little frame of the detector I would like for it to autofocus if necessary, and take a image to be for each frame of the detector.
    Using the auto focus requires the moving of the stage up and down.
    HumanCondition

  • Make a Line Fit with Vision Assistant for a polynominal function?!

    Hello
    I do have following problem to solve: I do have a laser spot which draws a line (non linear) to a wall. For this line I need to know the (exact) mathematical
    function. Therefore I can get an image of the line but I do not know how I can extract the mathematical function with a line fit for example. If I could "convert"
    the line into points I would use the line fit function of LabView which should work without problem.
    Is there a way to solve the problem with the vision assistant or..?
    Thanks in advance
    Solved!
    Go to Solution.

    Hello,
    by now I have learned that (almost) anything is possible. You can achieve this using Labview, Matlab, C++, etc... In any case, getting the coordinates of a single laser line (single laser line - you don't need to find correspondences, as opposed to multi-line projection) should be really simple. If you place an apropriate filter in front of the camera, it is even simpler!
    If you want proof it can be done (and the description/procedute I used), check out the link in my signature and search for laser scanner posts (I think there is three of them, if I remember correctly). I have made a really cheap scanner (total cost was around 45 eur). The only problem is that it is not fully calibrated. If you want to make precise distance measurements, you need to calibrate it, for example using a body of known shape. There are quite a few calibration methods - search in papers online.
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • Upgrade issues with Vision Assistant

    Hi Guys,
    I have encountered a problem with finding and analysing data from vision assistant since I upgraded to the new labVIEW 2013 SP2 a couple of weeks back. Within my application I perform countless camera inspections using vision assistant however i have noticed that for 4 particular inspections my vision assistant does not perform as it should. All other inspections have worked perfectly which is quite strange. Even the scripts are the same along witht the file directory locations. The first error was -1074396120 IMAQ Match Pattern3 saying the possible error was because it was not an image etc. However, after instancing a known working script into vision assistant for that inspection i receive an image but I dont receive an output from visin assisant that I am looking for.
    Within my inspection I look for 4 templates and an OCR check etc and perform boolean logic to give me a true/false result. When i run my application i always get a false result, even my probes tell me there was no template match etc but when i open up the script and run it all the templates are picked up! I created a new less complicated inspection where i only look for one pattern and again i get a false result. Has anyone got any ideas? I am a bit lost at the moment considering non of the other inspections have been affected. Even creating new file paths for directories but no joy!
    Thanks in advance guys! 

    Hi Chris,
    I was away for a few weeks. I have attached an image with template. The version I currently run is Development 2013 SP1 and the Vision Development module 2013 SP1 see attachment (Doc1). The executable runs perfectly for all of my inspections which is over 100 and only 2/3 fail because it will not find the template. The template has the same file paths as all the other inspections. When running the application i receive a fail because it doesnt see a template i believe. However, when i open the vision assistant express VI and run through the script it finds the templates no problem. Any advice is welcome.
    Damien
    Attachments:
    230.png ‏2220 KB
    Edge Template2.png ‏223 KB
    Doc1.docx ‏115 KB

  • Having problem with vision assistant !

    I turn my picture into image reference and use assistant to modify it
    but the result isn't what I see in the assistant
    can anyone help me?
    Attachments:
    vision test.vi ‏47 KB

    Maybe your vision has problem in your PC.
    Try to uninstall NI SW & reinstall.
    or 
    install into another clean PC.
    Thanks

  • Time lapse image acquisition with Vision & VB

    I want to save an image every 10 minutes (say). The "skip" function in the "Acquire image" window does not allow that slow an acquisition rate. Can anyone give me a simple :-) explanation of how to do this in VB?
    Thanks,
    Alan

    Alan,
    For that long of an interval, you don't need split second timing. Just snap a single image and record the current computer time. In a loop, check the computer time and compare it to the last image time. Once 10 minutes has elapsed, snap another picture and restart the timer. If you want to prevent a gradual drift, add 10 minutes to the previous time to figure the next time instead of recording the time the image was taken.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Problem with advanced threshold in OCR - Vision Assistant 2013

    I'm facing a problem with Vision Assistant 2013
    The OCR charter set file advanced threshold data is always fixed at 255 upper value and optimize for speed is checked.
    I edit them and reopen the file but no change.
    anyone facing the same problem ?
    Attachments:
    Untitled.png ‏7 KB

    Hi Paolo,
    Thanks for your answer. Yeah I have seen the examples and I´m familiar with the use of the OCR VI. I have use it a couple of time already with good results.
    My problem came last week. While I was trying to run OCR on my image in my LabVIEW code. The algorithm did not detected what I was expecting.
    I decided to run the test on the vision assistant and it worked perfectly. I assumed my code had different parameters, so I decided to generate a VI from the vision asssistant and run it on LabVIEW for the same image to verify.
    I did not change anything on the VI (all parameters are the same), and used the same image. Surprinsingly the results are different between the assistant and the VI. That strikes me a lot!
    I´ll start a new thread as you recommended. Hope to find the solution soon. Thanks  
    Regards,
    Esteban

  • Maximum number of Select Images/Vision Assistants

    Hardware:         CVS 1454
    Two cameras:   AVT Guppy F036C
    MAX Settings   
            680x480 Y (Mono 8) 15fps
            Speed: 400MBs
            Packet Size: 680bytes 
            Gamma Off
            Bayer Pattern: BGBG_GRGR
    Connection:      Using two firewire cables directly to the CVS
    Software:          Vision Builder 2010 and Vision Builder 2009
           I recently started to create a Inspection in VB2010. When I press "Run Inspection Once" button, it would lose connection with the CVS.  I watched the free memory in MAX and it went from 32MBs to 3MBs before it would lose connection. I simplified my Inspection to use fewer states, eliminated most of the variables in an attempt to use less memory. I put the camera settings as low as possible in MAX. Eventually I got it to stop losing connection to the CVS.
           Now that I could go through the states after it went through one iteration I saw that one or both of the Acquire Images would fail. Especially if I went into Inspection Interface and back to Configuration Interface. I figured it was a memory limitation since the CVS 1454 only has 128MBs, 96 of which is occupied by VB2010. I got another CVS, formatted it, and installed VB2009 since it had 44MBs of free memory.
           In VB2009 I put all of the test steps into one long state. The program has:
                  two acquire steps in one state
                  two states for creating ROIs(one state for each image) for a total of 2 Select Images
                  a test state which has two Select Image steps, one vision assistant, along with other test steps
           If I add one more select image or one more vision assistant those steps will simply fail to do anything. The inspection manages to finish running but anything involving that final Select Image/Vision Assistant will not work.
    Has anyone else experience a limitation to the number of select images or vision assistant steps they can use? I have a working inspection now but I need to be aware of the limitations as I try to make more robust Inspections.
    Is it a problem with the amount of user space in the CVS 1454 or is there just a limited number of pointers in the VB code that limits the number of references that can be made?

    My bet is you're just too close to the memory limit on that device. A quick test would be to just acquire images from your camera(s) without any Vision Assistant/processing steps and make sure this works for long periods of time without problems. Use the same cameras, and triggering settings to make it as close The Vision Assistant steps make a copy of the image (as well as Threshold). You can use the Select Image step to see which steps create a copy of the image. If you are really dead set on the CVS, you could try replacing the steps that make a copy of the image with a Run LabVIEW VI that does the same same functionality and minimize the copies you do in the Run LV code. This should save you your image size x the number of processing steps you can replace with Run LabVIEW. You're kind of at the edge of what the HW can do, so I wouldn't normally recommend this, but if you're desperate and don't want to upgrade HW, you could try using Run LV to help do several of the steps in VBAI that are making copies of the image.
    Hope this helps,
    Brad

  • Labview Vision Assistant Histogramm Problem

    Good Morning,
    i sadly with the Vision Package from Labview. I want to load a picture and interpretation a detail of the picture with black, white and grayvalve. This can i make with the Vision Assistant feature Histogramm. When i build it (the VI with Vision Assistant) comes nothing to the output Histogramm. I have checked the output line Histogramm, but nothing goes out of this.What are my failure?
    Thanks a Lot
    german translation:
    Hallo zusammen,
    ich bin leider noch nicht richtig mit dem Vision Paket vertraut. Ich möchte die Schwarz, Weiß und Grauwerte eines Bildausschnittes auslesen und diese auswerten können. Dank des Vision Assistant, kann ich dies per Mausklicks erzeugen, jedoch erhalte ich am Ende des Vis keine Daten. Selbst wenn ich die Quelle verbinde und ein Anzeigeelement hinzufüge, kommt hinten nichts raus. Was ist mein Fehler?
    Vielen Dank
    -motecpam
    Labview Vision 2011 Servicepack 1
    with Vision Development Modul
    Attachments:
    Screenshot_VI.jpg ‏230 KB
    Screenshot_Vision_Assistant.jpg ‏313 KB

    Hallo Tropper,
    vielen Dank erstmal für die Antwort.
    Leider erhalte ich dennoch keine Ausgabe am Histogramm.
    Das Histogramm wird mir leer angezeigt.
    Ich habe es so erstellt, wie von dir gezeigt.
    Attachments:
    Unbenannt.jpg ‏117 KB

  • Text detection in vision assistant

    hi all...i have labview 11 installed with me along with vision assistant. i found out that using OCR we can train it to read a string. but is it only 1 string for a program? even though i can train the progrm with all 26 letter templates, it recognises on the original string..
    please guide me to develop a program in OCR where it can read any string that i show to it...please i need your help. thanks in advance

    Hi Recordpro,
    It could be your pixel format settings. Open Measurement and Automation Explorer and select you camera. Then click the Acquisition Attributes tab at the bottom and change your pixel format. If that does not work here are some good documents on GigE cameras.
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part I
    http://www.ni.com/white-paper/5651/en
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part II
    http://www.ni.com/white-paper/5750/en
    Troubleshooting GigE Vision Cameras
    http://www.ni.com/white-paper/5846/en
    Tim O
    Applications Engineer
    National Instruments

  • Vision assistant problem

    Hi guys,
    I am having a problem with vision assistant when i run the script within vision assitant it locates all of my patterns and finds the template file paths etc and all is good. However, when i run my application the vision assistant fails to locate the patterns or the template file paths. Any help in why this is happening woud be of great help.
    Regards,
    Damien
    Solved!
    Go to Solution.

    Hi,
    Thank you for replying. Yes i created inputs paths and i believe the paths are correct. The strange thing is i have a number of inspections that work using vision assistant but for this one inspection it wont work. I have attached a screenshot of the vi with file paths etc. It is the same as other inspections that work so i am lost as to why this particular vi wont locate the templates/patterns.
    Damien
    Attachments:
    Doc1.docx ‏227 KB

  • Images in Vision Assistant are distorted from a FLIR thermo camera

    I'm trying to view my FLIR A315 in Vision Assistant and MAX (not at the same time), but the images keep coming up distorted.  I can tell there is data being sent, because the histogram shows info and if I mess around with the Attributes I can clear the image up some but it never get as clear as FLIR software.  I'm sure I'm missing something simple but this post seemed a good place to start.  Thanks
    Attachments:
    Image in Vision Assistant.png ‏81 KB

    Hi Recordpro,
    It could be your pixel format settings. Open Measurement and Automation Explorer and select you camera. Then click the Acquisition Attributes tab at the bottom and change your pixel format. If that does not work here are some good documents on GigE cameras.
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part I
    http://www.ni.com/white-paper/5651/en
    Acquiring from GigE Vision Cameras with Vision Acquisition Software - Part II
    http://www.ni.com/white-paper/5750/en
    Troubleshooting GigE Vision Cameras
    http://www.ni.com/white-paper/5846/en
    Tim O
    Applications Engineer
    National Instruments

  • 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

  • Vision assistant subtract images

    How do you subtract two images?
    I have load two images in vision assistant and I can "flip" between them but I cannot figure out how two subtract them. I guess I need to use the image buffer but it seems to load the same image into the buffer as I am working on. 

    Hi sorinpetrila
    You would get more responses if you create a new post.
    Working with buffers in IMAQ is fairly simple. First you need to figure out if you want a sequence (single run through where you fill up the buffer), or if you want a sequence ring. Where you start to overwrite the start of you buffer after X number of images.
    You would need to use the first option for a single acquisition where you have enought memory to store all the images you want which is normal for if you want to acquire i.e. 100 images and then process them afterwords
    The second option you would use in 2 circuimstances
    1) You have images coming in a burst. 100 pictures wait 1 second 100 pictures wait 1 second.
    2) It takes you longer time to process the image than to acquire it (i.e. 5 times as long). And you would there fore need to store the last 5 images in the buffer so you can handle the longer processing time without acquisition time to go down.
    The best way to learn these techniques is to look at the shipping examples:
    LabVIEW --> Help --> Find Examples
    Browse for task
    Hardware Input and Output --> Vision Acquisition --> NI-IMAQdx
    High LEvel Sequence.vi shows you option 1
    Low Level Grab shows you option 2 as far as I remember (don't have my LV computer here)
    National Instruments have a Machine Vision course which thoroughly walks through these principles and have exercises in both examples.
    Best Regards
    Anders Rohde, CLD, Platinum Applications Engineer

  • Image processing with imaq vision with 2 webcams on the same computer

    Hi,
    I'm currently trying to set up 2 usb webcams (logitech quickcam for notebooks pro). I want to be able to have them both run simultaneously and do some image processing with the images that I get from both cameras with labview and imaq vision.
    As of right now, I'm having trouble getting both cameras to run at the same time. Any help would be gladly appreciated. Thanks.

    The USB IMAQ driver will not support running 2 USB cameras at a time (I believe it is a limitation of the DirectShow interface). You could open one camera, acuqire an image, close the reference to that camera and then do the same for the second camera.
    If you need simultaneous acquisition, look at possibly moving to 1394 cameras or analog cameras.

Maybe you are looking for