Imaq vision error

hi,
    In my project i have created a vi for a live display of an image. I have created a global variable for the live image to use it in my project, wherever i need it. I have created a local variable of the image in my autofocussing part of the image. When i am using the autofocussing part in another part of my project as a sub vi,i am getting an imaq error Hex 0XBFF60428 not an image. Unable to understand how to handle this vi.Can anyone suggest me for further proceeding of my vi.

Post your code
Randall Pursley

Similar Messages

  • IMAQ vision error: Unable to read data

    Hello
    I had tried to make a vi to read characters from an image but IMAQ OCR read file is showing error.please help me to come out from this error
    i have attatched the vi and the image which i am using to read the characters
    Attachments:
    limited_edition.jpg ‏462 KB
    ocr.vi ‏25 KB

    What character set are you using?  You need to create one if you haven't.  OCR is basically a form of pattern match.  Here is thread describing how to do this:  http://forums.ni.com/t5/LabVIEW/how-to-create-character-set-file/td-p/1130815
    Have you seen the OCR examples in the NI Example Finder?  Go to Help>>Find Examples... and then type in "OCR" in the search.
    www.movimed.com - Custom Imaging Solutions

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • IMAQ Vision AVI create - file access denied error

    Hello:
    I am getting some really strange behavior with the IMAQ Vision AVI create function.  I am seeing the following error with the following file name or pretty much any other file name I try.  I did try to hard code the same file path name, and one time it worked, but another time it did not.  Anyone seen this error before?
    I will cross-post in the Vision forum also.
    Thanks,
    Don
    Message Edited by DonRoth on 07-28-2008 11:27 AM
    Attachments:
    1074395992.png ‏7 KB

    Here is the simple version of the code.  I have even gotten out of LabVIEW and then come back in and still could not save to AVI (even if deleting the old file of same name) so not sure what is going on. The error occurs right on the error output of Create AVI.vi...Don
    Message Edited by DonRoth on 07-28-2008 01:33 PM
    Attachments:
    save_images_to_avi.png ‏16 KB
    Same_Image_Series.llb ‏117 KB

  • I don't have IMAQ vision, where can I get some super basic easy VI's for IMAQ?

    Hello,
    I don't have IMAQ vision, where can I get some super basic easy VI's to get images from my IMAQ PCI-1424 board, without Vision?? is there some kind of tutorial that will help me get started from the ground up in designing VI's? Also I am trying to run the HL Snap in picture control.vi and I keep getting an error that says:
    -1074397150 occured at IMAQ snap.vi
    Possible reasons,
    NI-IMAQ (Hex 0xBFF6022) wait timed out; aquisition not complete.
    Why am I getting this??? it is driving me nuts, I don't know how to get a image on my computer from the IMAQ board. I can get one in MAX. Also in MAX I try to change the camera driver to Kodak because that is the boar
    d that I have KLI-2113, but when I try to change anything under properties like the window size and then apply it, it says error removing old camera. why does that do that? Some of the other drivers sort of work and let me change the settings. I don't know if they work right though. I can get atleast some response to light from the CCD chip.
    Anyways, thanks,
    Brian

    Brian;
    There is an example on how to display images in LabVIEW without having the full IMAQ application.
    You can always convert the images to bitmaps (flattening) and display them in a picture indicator. If you are going to do some image processing within LabVIEW, this may be the way to go.
    About the error you are getting, hopefully the above example will help you in resolving the issue. If the problem persist, it will be more beneficial if you can post the code. Also, you may get better answers if you post your question in the Vision forum.
    Regards;
    Enrique
    www.vartortech.com

  • IMAQ Vision Unable to read data.

    This project is to match multiple templates, then i copied the method from the example "Match Multiple Geometric Pattens", but the error says:
    Error -1074395989 occurred at IMAQ ReadImageAndVisionInfo
    Possible reason(s):
    IMAQ Vision: Unable to read data.
    The problem is that the programming works if I use the labview example's templates. However,when i use the templates which generated by myself, the error appears. I have checked the format and pixels of my generated template, which looks indentical to the example's template.
    Could anybody help me to figure this out? I have attached my docs below.
    Thanks.
    Dylan
    Attachments:
    Multiple-Match-Pattern.zip ‏331 KB

    Hello,
    Labview Geometric matching uses a set of features/descriptors to describe the meaningful information contained in an image. You need to extract these descriptors to permorm the matching.
    Here is an example on how to create the pattern matching templates in Labview (you can alternatively use the Template Editor utility):
    http://forums.ni.com/t5/Machine-Vision/In-Pattern-matching-angle-remains-Zero-even-if-the-rotated/m-...
    (see the attachment in the solution post). You can easily adapt this to learn geometric template (just modify/replace the relevant vi.'s).
    Don't use screen shots to create the templates. Create a template directly from the image.
    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."

  • IMAQ ClipboardToImage IMAQ Vision does not support the file type you specified.

    Hi.
    I have been trying out the inventeering INVENTvisionIMAQexample.vi. But i always encoutered
    an error in the INVENTvisionVFWcopy.vi of "IMAQ ClipboardToImage IMAQ Vision
    does not support the file type you specified." And the video window does not
    appear full size with real-time capture image. Does anyone encountered this problem as well? Please enlightened me. Thank you.

    What error it is throwing ? if you could attach the vi then it will be easy to find out the problem

  • IMAQ Vision: (Hex 0xBFF60488) Minimum coverage value should be greater than zero.

    Having some trouble with extended acquisition of a Mightex USB camera using LabVIEW 8.5.  LabVIEW is able to acquire images from this camera using IMAQ USB, a snap every ~30 seconds.  After about 1100 snaps LabVIEW errors out: IMAQ Vision:  (Hex 0xBFF60488) Minimum coverage value should be greater than zero.
    Any help would be greatly appreciated!

    Check this discussion

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

  • Where can I get ComponentW​orks IMAQ Vision reference?

    I have setup LabVIEW2012 on my pC. The cwimaq.ocx and cwimagview.ocx were also registered. Now I want to building componentWorks IMAQ Vision Applications with Visual C++6.0.
    I use the Visual C++ MFC AppWizard created a skeleton project and program. After insert the Activex Control in the program, the corresponded wrapper classes were created. But I don't know how to use these classes. For example ,how to display two dimensional array as image.The manual of "Getting Results with ComponentWorks™ IMAQ Vision" says that ComponentWorks online reference (If you have ComponentWorks installed on your computer, you can access the online reference by selecting Start»Programs»NationalInstruments>>ComponentWorks​»ComponentWorks Reference).
    But I only registered the Activex control. How can I get the ComponentWorks setup program and the detailed reference? Many thanks.

    Brian;
    There is an example on how to display images in LabVIEW without having the full IMAQ application.
    You can always convert the images to bitmaps (flattening) and display them in a picture indicator. If you are going to do some image processing within LabVIEW, this may be the way to go.
    About the error you are getting, hopefully the above example will help you in resolving the issue. If the problem persist, it will be more beneficial if you can post the code. Also, you may get better answers if you post your question in the Vision forum.
    Regards;
    Enrique
    www.vartortech.com

  • IMAQ vision interface problem

    I am using IMAQ vision 7.0 with an IEEE 1394 camera. IMAX recognizes the camera without a problem as cam0. But when I try to use the imgInerfaceOpen.vi it returns an error when it accesses the Imaq.dll cin node.

    Since the toolkits (including IMAQ stuff) are built partly in LV, it HAS to recompile them for them to run. Since you say that a VI that's part of a toolkit has no block diagram, then no, you can't use it. You are not the first to complain about the problems in compatibility between different versions of LV. There are technical difficulties with this, and you will find opinions in both ways.
    You've run into a unique situation because the VI was shipped without a block diagram. Anyway, it's possible that in all the legal mumbo-jumbo that came with IMAQ 6.0 you will find that you're only allowed to use it with LV 6.0 (I'm sure there are people here who know). I believe that the only practicle solution is upgrading (or, if it's legal, and if this is the only VI you're missing, have someone send you just that VI).
    Try to take over the world!

  • Imaq copy error reason not found

    Hi,
    When I try to run the attached program it encountered the following problems.
    Error -1074396120 occurred at IMAQ Copy
    Possible reason(s):
    IMAQ Vision: Not an image.
    Error -1074396120 occurred at IMAQ Extract Single Color Plane
    Possible reason(s):
    IMAQ Vision: Not an image.
    I dont know how to debug it. Please help me.
    Attachments:
    ASLT Folder.zip ‏66 KB

    Instead of
    try
    Before the change I was not able to get any image in the "acquired image control"; after the change I was able to get image to display. However, I don't have color camera so I am not able to test further.  Make the change and let's know your results.

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

  • How do I convert an IMAQ image buffer into an IMAQ Vision 'Image'?

    Using NI IMAQ and IMAQ Vision with LabWindows/CVI 6.0...
    I have some acquisition code that uses IMAQ img functions to set up a
    triggered image acquisition and stores the image into an 1D unsigned char
    array buffer.
    I would now like to add code that uses the IMAQ Vision functions. The IMAQ
    Vision function use an Image data type, which from what I can glean from the
    ..h files, is a structure.
    Is it possible to convert the 1D unsigned char array image buffer to an
    Image? How would I do this?
    An inefficiant brute-force way would be to write the image to a BMP file
    from IMAQ using imgSessionSaveBufferEx, then read the same file back in
    using IMAQ Vision imaqReadVisionFile. I am hoping there is a more elegant
    way to perform the conversion in memory without needing to write disk files.
    Thank you,
    Robert Rafuse
    Etec, Inc.
    tel: (978)531-5025
    e-mail: [email protected]
    web: http://www.etec-inc.com

    Bob Rafuse wrote:
    > Is it possible to convert the 1D unsigned char array image buffer to
    > an Image? How would I do this?
    Never mind. I found:
    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F11556A4E034080020E74861&p_node=DZ52490&p_submitted=N&p_rank=&p_answer=&p_source=External
    which indicates that the img functions actually return a 2D array, so I can
    use imaqArraytoImage after all.
    My bad.
    Bob

  • How can I in IMAQ Vision know to which blob a pixel belongs to?

    Hi,
    How can I in IMAQ Vision know to which blob (particle) a pixel belongs to?
    I use IMAQ Complexmeasure and Complexparticle to get data about every particle in the image and then use this data (position, length and direction) to see if two particles "belong to each other". I want to start from one particle and from the data (position, length and direction) find a search area and in that area look for pixels (binary image), if I find one I want to know to which blob that pixel belongs to. (Programmatically) How can I do that?
    Deeper explanation: The image I send is just a small part of a bigger image. As you can see there are a lot of streaks on the image, they are generated by small particle
    s moving in the air. I use a long exposure time and have a chopper in front of the camera that will generate a short streak, a middle long streak and a long streak. By doing this I can see how the air is moving around in a room. As you can see I must know which streaks are generated by the same particle. As I said earlier I use IMAQ Complexmeasure and Complexparticle to get data about every blob (streak in this case) in the image and then use this data (position, length and direction) to see if two streaks "belong to each other". I start from one streak and from that streaks data (position, length and direction) I can find a search area and in that area look for pixels ( hopefully belonging to a streak generated by the same particle ), if I find a pixel I want to know to which streak (blob) that pixel belongs to so I can look at this new streaks data (length, direction) to verify if these two streaks are generated by the same particle. So my questions are:
    How can I see to which strea
    k (blob) an individual pixel belongs to? (programmatically)
    What is the best way to create a search area, ROI? (programmatically)
    What is the best way to look for a pixel in the search area, IMAQ GetPixelValue? (programmatically)
    Thanks
    Pelle
    Attachments:
    streak.jpg ‏6 KB
    scan0001.PNG ‏66 KB

    Pelle,
    This is an interesting project. It will be difficult to use blob processing, because there are a large number of intersecting paths.
    A few ideas to start with:
    For each particle, the path is essentially the same brightness. I would start with white and gradually decrease the threshold level to locate the different blobs.
    Also, for each particle, the alignment is roughly the same. I would only consider blobs that have about the same orientation of the long axis. They don't seem to make sudden right angle turns.
    I would search by doing a particle analysis, select a particle and search for related particles by comparing the centroid of nearby particles to see if they fall in the area +/- 15 degrees from the long axis orientation of the
    particle. You should be able to locate a best choice at each end of the particle.
    Bruce
    Bruce Ammons
    Ammons Engineering

Maybe you are looking for