Integrate IMAQ Vision picture into frontpanel

Hallo,
I hope I'm in the correct newsgroup here. I've just begun to work with
Labview. I'm working on several little demonstration programs, to show the
principles of image acquisition. Now I'm searching for a possibility to
integrate the pictures in the format that is used by the IMAQ vision library
directly in the front panel.
Til now I have not found a solution to that problem. Is there someone who
could give me a tip, how to solve this problem. If theres only a high
complicated solution, then no need to reveal it, because I'm just a
beginner, and so not yet able to understand complicated solutions.
I thank you all
Felix Leo

Hello Felix:
First, is that you have to remember that ordinarily LabVIEW does not come with IMAQ or Vision tools as a single package and so you have to learn them separately but ultimately integrate them together in application. There is a set of toolset called "picture control" (early version in LV4.1 to LV5.1?) you can begin from. Assuming you have good grasp of image file types then start downloading NI examples that enables you to read an image, convert them to a matrix form (spreadsheet) and back or into different format. If you have a scanner that can save in TIFF,PNG,BMP or JPEG you could use those files to read them into your routines.
Bernardino Jerez Buenaobra
Senior Test and Systems Development Engineer
Test and Systems Development Group
Integrated Microelectronics Inc.- Philippines
Telephone:+632772-4941-43
Fax/Data: +632772-4944
URL: http://www.imiphil.com/our_location.html
email: [email protected]

Similar Messages

  • 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

  • Writing a Compressed AVI File in NI LabWindows/CVI with the IMAQ Vision Acquisition

    I'm still facing some problems when I try to save pictures from a GigE Vision camera into a compressed avi-file in a LabWindows/CVI application on Windows7.
    The task is to grab images from the camera with 30 fps to monitor a process, evaluate the grabbed pictures to find certain characteristics of the monitored process and save them in an avi-file to have the possibility to load and evaluate them once again Offline if necessary.
    My questions: which compression filters can I get with the NI-Imaq Vision Acquisition and Vision Development Runtime 2012 SP1? Is a mpeg4 codec available to compress quickly and effective? Can I use a third party codec or only the ones delivered with NI-Vision?
    I posted the problem two times already, but there is little response up to now. Thanks

    The encoding algorithm, or codec, that's used for compression needs to present on your system. When I had done some research on this sometime back, I found that if your custom codec could align with the DirectShow architecture, then your codec would work with IMAQ AVI functions.The codecs that are available may vary from system to system, depending on what software is currently installed. Be sure to check out this article:
    Writing a Compressed AVI File with the IMAQ Vision Acquisition Software
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • 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

  • 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

  • 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 - Writing Image Files: File Format

    Hi,
    I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired by
    a camera. Several file formats are supported:
    BMP, JPEG, PNG and TIFF
    For me the PNG format seems to the most attractive one as it provides
    lossy-less compression and platform independentness. But, in the manual
    there is a comment which I don't understand: It says that the PNG format is
    not recommend for precise gauging or inspection measurements - and that is
    exactly what I want to do.
    I always thought that once an image file is loaded into LabView there is no
    difference regarding to the file format the images were saved in. Can anyone
    explain me, what the problem of the PNG format is? Which format can you
    recommend for preci
    se gauging instead (BMP?)?
    Thanks,
    Gerd Simons

    one correction:
    I use IMAQ Vision 5.0 and NI-IMAQ 2.2.1.
    Gerd Simons
    "Gerd Simons" wrote in message
    news:[email protected]..
    > Hi,
    >
    > I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired
    by
    > a camera. Several file formats are supported:
    >
    > BMP, JPEG, PNG and TIFF
    >
    > For me the PNG format seems to the most attractive one as it provides
    > lossy-less compression and platform independentness. But, in the manual
    > there is a comment which I don't understand: It says that the PNG format
    is
    > not recommend for precise gauging or inspection measurements - and that is
    > exactly what I want to do.
    > I always thought that once an image file is loaded into LabView there is
    no
    > difference regarding to the fil
    e format the images were saved in. Can
    anyone
    > explain me, what the problem of the PNG format is? Which format can you
    > recommend for precise gauging instead (BMP?)?
    >
    >
    > Thanks,
    > Gerd Simons
    >
    >

  • IMAQ vision bug in several IMAQ vision functions

    Some IMAQ Vision functions malfunction if you use the source image as the mask. I keep running into this bug in IMAQ Vision, some Vision functions exhibit this behavior, and some don't. It is not documented in the function descriptions. Even if it were, it would still be a bug. Example:
    1. Create a U8 source image that contains some zeros and some nonzero values.
    2. Wire the image into the source input and mask input of IMAQ Quantify and return the % value of the global report to see what percentage of pixels are nonzero.
    The answer is wrong. If you copy the image into a separate image first, and wire the separate image into the mask input, you get the correct answer. See attached VI for edification
    Cheers,
    -root
    Message Edited by Root Canal on 04-20-2009 06:06 PM
    Message Edited by Root Canal on 04-20-2009 06:08 PM
    global variables make robots angry
    Attachments:
    mayor of bug town.vi ‏43 KB
    mayor of bug town.PNG ‏18 KB

    Identical thread in Machine Vision discussion forum: mask bug in several IMAQ vision functions
    Hope this helps.
    -Ben
    WaterlooLabs

  • How to load .raw files within IMAQ Vision?

    Does IMAQ Vision support .raw format? How do I load an .raw image into an IMAQ Viewr?

    IMAQ Vision supports the following standard image formats; BMP, TIFF, JPEG, PNG, and AIPD. Non-standard or other images can be read with IMAQ Vision and converted to the IMAQ image data type. In LabVIEW, the IMAQ ReadFile.vi has a set of options to be used for non-standard or other image types. Depending on how your .raw file is stored, you might have to do some other types manipulation before you will be able to read the file in. I would start with the option in the ReadFile command. Once the image has been successfully read into Vision, you can attach it to an IMAQ Viewer just like other images.
    Hope this helps.
    Jack Arnold
    Application Engineer
    National Instruments

  • What happens to a 12-bit image in LabVIEW/IMAQ Vision?

    I'm using the DALSA DALSTAR 1M30 camera, and we are building a cable for it, and have not yet got it up and running, but I am already programming our application for it. I was wondering, since the IMAQ Vision VI's seem to pertain to 8-bit, 16-bit, and floating point images, I was wondering if they will work fine with a 12-bit image like the one from the 1M30 camera. I was also wondering, if they do work fine, what format the output of a VI like IMAQ ImageToArray will be. Will the 12-bit pixel values be converted into 16-bit?
    Thanks for the help.

    A 12 bit image is stored within IMAQ as a 16 bit image. Only routines that accept 16 bit images can be used for manipulating the image.
    The IMAQ WindDraw converts 16 bit images to 8 bit images for display, using the selected method. You can also manually convert to an 8 bit image for automatic thresholding and other routines that don't accept 16 bit images. For most applications, you will want to shift it 4 bits during conversion so the most significant bits are preserved.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • 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

  • How can I get the development version of ComponentWorks IMAQ Vision

    I programming my application using ComponentWorks IMAQ Vision version 1.0(Evaluation), now I got problem to count the image edges properly.Is that the problem of Evaluation ComponentWorks.

    From the above posting, i am not sure exactly what problems you are running into when getting edge inforamtion, but the evaluation version should run the same as the development system, except for the limitation on executiopn time and the additional pop up reminders. If you feel these issues are caused by the version and you would like to get information about the development version, I suggest contacting your sales representative. Here is a link to our Vision software int he catalog:
    http://sine.ni.com/apps/we/nioc.vp?cid=1301〈=US
    I hope this helps!
    Chris D
    NI Applciations Engineer

  • Using IMAQ ConstructROI in IMAQ Vision

    When I using IMAQ ConstructROI.vi,there will be two bottons,'OK'&'CANCEL',in the following image.How can I delete these two bottons?

    The IMAQ ConstructROI VI is a high level function that allows you to easily obtain a region of interest from the user - as such you will not be able to remove the OK/Cancel buttons as they are "hard-coded" into the VI.
    An alternative method would be to replicate the process found in this VI in your application as this would allow you to simply display the image window and from that extract the ROI once the user has drawn on the window. The process would be as follows:
    1. Display image
    2. Select ROI tool (either show tools palette or force user to use a particular tool e.g. rectangle using IMAQ WindToolsSelect
    3. Wait for the user to draw on the image - there is a function that will wait until a user event (such as draw) is generated - IMAQ WindLastEvent
    4. Get ROI from image window using IMAQ WindGetROI
    5. Use the ROI as part of your image processing algorithm.
    The IMAQ Vision Reference manual has more detailed help regarding the use of these VIs - some of the "older" examples i.e. prior to IMAQ Vision 6.0 show this approach being used. Some of these examples may still exist so I would suggest browsing through the examples for some sample code.
    Jeremy

  • Multi-camera acq w/IMAQ-Vision processing; how to translate buffers?

    I have a multi-camera system using genlocked cameras and a PCI-1408. I'm developing my application using LabWindows/CVI. I can acquire from each camera in turn using NI-IMAQ low-level functions (ref.: scan 1408 channels.c), but I want to process the images using high-level IMAQ-Vision functions. How do I translate an image captured into a low-level buffer (imgCreateBuffer) into an Image buffer (imaqCreateImage)? Are the buffer structures from imgCreateBuffer the same as imaqCreateImage, so that I can simply cast the void* returned from imgCreateBuffer to an Image* parameter in an imaq_xxx function? If not, how do I move an image from one buffer type to the other?
    Thanks!
    Jesse

    Well, I'm answering my own question!
    Turns out that the image buffer from imgCreateBuffer is an integer array. To get this into an Image structure from imaqCreateImage, use imaqArrayToImage.
    Hope this helps the next person.
    Jesse

  • Concept Question - IMAQ Vision

    Hi everyone,
    Before I start cranking away at code and seeing if I can do this, I just kinda want to see if anyone has done anything similiar or just knows if it IS possible to do with IMAQ Vision. 
    So what I want to do is take the output of a ccd camera which is recording a flat target plate, but from an angle, and make it appear as if it's head-on onscreen.  Ie; the camera is viewing a flat plate from a 45 degree angle below the plate so the resulting image is skew like so /_\ but i would like to make it square again |_|.  It will be a video feed from a ccd, as near live as possible.
                             /-----------------\                                          |---------------------------|
                            /                        \                                        |                                  |
                           /                          \                      =               |                                  |                          ????         
                          /                            \                                      |                                  |
                         /                              \                                     |                                  |
                        /________________\                                    |_________________|
    Like my ansi art?

    Can do it but CPU intensive.  Look at image calibration functions in IMAQ.  You basically shot a picture of a calibrated image then let IMAQ figure out how to make it square again.  We tied it, it worked nice, but cost too much CPU for our application.  We used it to take the bend out of a wide angle lens.  You are better off shooting it straight on if possible.
    http://digital.ni.com/public.nsf/allkb/5FC615E2B4CFE8FA86256AC4007C9A42
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

Maybe you are looking for

  • HT202213 Can I use the apps that itunes is downloading to my PC on my PC?

    Can I use the apps that itunes downlading to my PC on my PC.  If not can I delete them off of my PC without messing it up on my ipad?

  • 1.3 JNI libraries compatible with 1.4?

    I'm having some problems migrating my software from J2SE 1.3 to 1.4 (on Linux). I've not recompiled anything, hoping for Sun's binary code compatibility... Strangely enough, the first time I executed my program with the 1.4 VM, everything worked just

  • CMIR Common Distribution Channel

    Hi I have a few distribution channels e.g. 10 20 30 I have a few divisions e.g. 01 02 03 Now suppose I make 10 as the common distribution channel. My Sales area are defined as 1000/10/01 1000/20/02 1000/30/03 I create a customer master with the follo

  • E-recruiting : Pre-requisite for using the report HRALXSYNC

    what data must be present for an EMPLOYEE in order to use this report. Regards, Bharat

  • Web page does not see SWF file

    Hi, I am wondering if anybody can point me in the right direction? I have created a web page with Indesign which includes some animation. When I export it to SWF format it creates seperate HTML and SWF files. I have moved these two files, together wi