IMAQ USB snapshot

I have created a VI that just simply takes a snapshot using a USB webcam.
My problem is
- When I change the terminate condition from a 'stop' button to a 'true' constant there is no image displayed.
- I have tried with the image control both inside and outside the loop.
This doesn't seem logical
See attatchment
Attachments:
testing.vi ‏57 KB

Just remove the "IMAQ Dispose" and it will certainly work better.
What flows in the image wire is ot the actual image data, but a pointer to the image, so the display on the front panel receives the pointer and go get the image data to display it.
The issue in the VI you posted is that you don't really know when the "IMAQ dispose" will execute, so if if it executes after the "IMAQ create image", the image buffer is released and there is no image data to be displayed.
Hope this helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • How to set the exposure time and the gain of a connected camera with IMAQ USB

    A camera was connected to my computer with USB port and we can acquire the image through IMAQ USB.  Now we have to set separately the exposure time and the gain with the camera's driver software provided by the manufacturer.  My question is: how to set directly the exposure time and the gain of this camera in Labview?

    Hi Frank
    Welcome to the forum. Have fun
    FranklinT wrote:
    My question is: how to set directly the exposure time and the gain of this camera in Labview?
    I think its not possible for USB Cameras. 
    Previous threads for your ref
    http://forums.ni.com/t5/Machine-Vision/How-to-control-property-nodes-for-USB-camera/td-p/970306
    http://forums.ni.com/t5/Machine-Vision/imaq-USB-property-page/td-p/926034
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney

  • Why is IMAQ USB Snap.vi constantly giving out a 32-bit image?

    Hi.
    I'm using some USB cameras (uEye) with Direct Show. I use the IMAQ USB camera tools (with Labview 7.1, Vision 7.1.1) as in the examples. In particular I'm working in the snap mode.
    I create an U8 image (IMAQ Create) which I use as input to IMAQ USB Snap.vi and I set the camera's video mode to grayscale (Y8) using IMAQ USB PropertyPage.vi
    But, I don't get an 8-bit image out of IMAQ USB Snap.vi. The image is always converted to 32-bit RGB. In principal It works like this, but it costs me valuable time to convert the image to 8-bit at some points of the program where I need the image grayscale array.
    Cheers,
    mirola 
    Labview 5.1 - 2011

    Hi Elmar,
    Thanks for answering.
    Of course, the "not officially supported" thing is a killer argument. But the device shall work with a laptop and, as I know, the firewire cameras need an additional power supply when connected to a laptop 1394.
    The camera I use is grayscale and only works properly when I write 8-bit grayscale in its settings (e.g. using IMAQ USB PropertyPage.vi).
    As I said, everything I can set is set to 8-bit. The Snap.vi converts the input IMAQ image to 32-bit.
    But maybe you are right and it's just that NI's USB Direct Show dll is not treated with high priority (note: I use the most recent one, although I combine it with older LV and Vision versions.) Otherwise I guess I would get more answers here.
    On the other hand, if I ask the manufacturer he will probably say I should use his SDK which I don't want at this point.
    Best regards,
    mirola 
    Labview 5.1 - 2011

  • IMAQ USB Close leaves the camera open

    Hi,
    I hope somebody can help me with that one. I have a DirectShow compliant USB camera, that I got to work with the IMAQ USB VIs. I can acquire images, enumerate the devices and get the options dialog. However calling the IMAQ USB Close VI does seem to have any effect. As the next time I try to call IMAQ USB Open afterwards I got error -1074396024 until I terminate the host process and restart LabVIEW again.
    I am using LabVIEW 8.0, on W2k German
    I also tried the samples (e.g. Grab.vi) provided with the same effect.
    Running a tool that collects system debug messages (send via OutputDebugString) I got 'Export: Break Connect' coming from the IMAQ USB Close VI, but I also see, that the underlying DirectShow Interface doesn't receive any close call. Is there an Interface missing in the DirectShow interface (which?) or is this a bug in the IMAQ USB Interface (not very likely as a lot of guys seem to be happy with it)?
    Can anybody help please?
    Greetings,
    Stefan

    Stefan,
    below is an excerpt about the system requirements for IMAQ USB:
    - Windows 2000/XP (English, Italian,
    Japanese, French, Italian, Norwegian, Dutch, Spanish/Portuguese,
    Russian, and simple Chinese)
    - LabVIEW 7.0 or higher with NI Vision 7.1 or higher for the USB LabVIEW support.
    - Vision Assistant 7.1 or higher for the USB Vision Assistant plugin module.
    In general IMAQ USB is not supported but I will forward the information to R&D.
    The following link povides other possibilities:
    http://digital.ni.com/public.nsf/allkb/274a74a901399d0486256f32007295f9
    Regards,
    ThSa
    http://www.newgistics.com

  • Mightex camera not identified by max or Imaq usb enumerate camera vi

    Hi all,
    I am using Mightex S-Series Ultra-Compact USB2.0 camera, I am finding it difficult to identify the camera in MAX or with IMAQ usb enumerate camera vi, I do have loaded the drivers but still couldnt get the camera working , please let me know if there is anything else I need to upload.
    Thanks,
    Ankit Gupta

    Hi AnkitG,
    Sorry to hear that you are having problems with your camera. We have recently seen several other instances of Mightex's cameras causing issues when trying to interface with it through IMAQdx, and have been in touch with Mightex regarding these issues. We suspect that the issues all come from differences in the way NI and Mightex handle DirectShow compliance. I'll make sure to communicate this issue to them as well, and I'll let you know what we find. 

  • What is USB Camera Name in IMAQ USB-Init.vi?

    Hi,
    The subject of this message explains my question. In addition, I was wondering if someone could tell me whether the "USB Camera Name" can take any name or not. Finally, when I run my program, I get an error indicating that "Filter name not found". Can somebody tell me what the Filter name is?
    Thank You

    Yes, it does matter what you use as a camera name. Use the IMAQ USB Enumerate Cameras VI to get the names of all the connected cameras. Then feed in the one that you want to use.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Error from IMAQ USB Grab Setup in executable

    I created an executable that returns
    Error 1074396024 occured at IMAQ USB Grab Setup.vi
    IMAQ Vision: Minimum coverage value should be greater than zero.
    I developed the executable on a 32 bit machine with LabVIEW 2009 and the Vision Development Module 2012 SP1. The target computer has LabVIEW Vision Development Module 2012 and LabVIEW Run-Time Engine 2009 SP1 (32-bit Standard).
    Other people on the forum have had this error, and I tried everything they suggested. I continue to get the error. I have also tried downloading IMAQ and Vision Aquisition Software, but I get the same message. Some people have had problems with versions of LabVIEW in different languages, but I am only using english. Is this problem caused by not having the correct run-time engines?
    Any help would be greatly appreciated.
    Thanks!
    Solved!
    Go to Solution.

    Hello Eckman,
    Do you have the Vision Development Module Run-Time Engine (VDM RTE) installed on your target machine? You will need the RTE to run vision applications as a deployed executable. 
    Vision Development Module Run-Time Engine 2012 SP1
    Please let me know if you install the run-time engine (or already have) an still receive the same error message.
    Regards,
    Ian K.
    Applications Engineer
    National Instruments

  • IMAQ USB Snap.vi time out

    I'm trying to capture an image in LabView using a veo stingray webcam.
    I'm using LabView 7.1 with Vission Assistant 7.1. I've attached my
    block diagram. When I press run LabView recognizes my camera, but I
    always get the following error.
    Error -1074396030 occured at IMAQ USB Snap.vi Time Out.
    Any suggestions would be appreciated.
    Attachments:
    labview.JPG ‏30 KB

    The QuickCam is indeed USB. The error appears when the vi is closed without using the IMAQ USB Close.vi (for instance when aborting the execution using the toolbar stop button). So, problem solved. Unfortunatelly this was not the only issue : Now my vi does not crash LV... but returns only a black image...
    For professionnal use, I have several NI frame grabbers. For teaching, I don't have a budget for 16 firewire adaptators and cameras . I'll try re-installing the software one more time.
    This is not a big problem because as I said before, the grab function is working. However, I don't like giving my students the idea that sometimes only 50 % of LabVIEW functions are working properly.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Error 0xBFF60492 on IMAQ USB snap.vi RT Video not support displaying selected color depth

    Attempting to snap a picture with NI-IMAQ for USB in LabVIEW 8.0  using the following procedure.
    1)I get the first enumerated camera, 2) open a session, with returned
    string [0], 3) start a session, 4) snap a picture and 5) close
    vi.  My problem is that in step 4 with the IMAQ USB Snap.vi, I get
    the following error.
    Error -1074396014 occurred at IMAQ USB snap.vi
    The image passed is not valid.
    Possible Reasons(s):
    IMAQ Vision: (Hex 0xBFF60492) RT Video Out does not support displaying the supplied image type at the selected color depth.
    I give the snap.vi an Image in from rightclick->Create->Control
    or rightclick->Create->Constant.  The output image (on the
    Front Panel) created by rightclick->Create->Indicator.
    LabVIEW should insert the correct data structure to match the expected
    input/output, and there is nothing I can that changes he color
    depth.  The GetImageInfo.vi reports that the camera is set up for
    4 Bytes Per Pixel, with the rectangle 352x288.
    Also the error message refers to RT Video Out, but I am using USB.  This distinction is significant in NI Vision Assistant.

    Hello together,
    I wanted to use a Sanyo Xacti CG 10 video camara in LabView.
    By using the NI-IMAQ for USB Snap I get the following error: IMAQ Vision: (Hex 0xBFF60492) Ungültige Blit-Funktion des Videoausgangs.
    Is it possible, that I can not use this camera in LabView?
    Thanks a lot for your reply

  • IMAQ USB CAMERA BLINKING

    I'm trying to do a real time inspection with Vision Assistant 8.6 and when I start capturing with IMAQ USB GRAB inside Labview 8.6 the video starts blinking and I can't see for sure what is happening.
    Is there any solution to stop it and make the image smooth without blinking?
    There is an image below showing the block diagram.I'd appreciate if someone could help me.

    Hi, Alex,
    You have clear race conditions between Grabbing/Processing/Visualization.
    Try to copy image to other buffer, then "blinking" should goes away.
    Something like that:
    Also remember, that at first grab iteration your image is not valid, because grab occurred after processing.
    Andrey.

  • IMAQ USB for LV2009

    Hi,
    I updated Labview from 8.6 to 2009, with Vision.
    After installation of ni-imaq-usb library (August 09 version), USB Acquire Image is available in Vision Assistant 8.6 but not in Vision Assistant 2009. Same issue in the Control when I code in the back panel.
    Furthermore refering to 8.6 librarie when coding in 2009 make close the vi and Labview 2009 without any explanation.
    Is there a version of IMAQ for USB available for Labview 2009?
    Solved!
    Go to Solution.

    Hi,
    Thanks for the Imaqdx informations, now the cameras are listed by Imaqdx Enumerates Cameras.vi, but IMAQdx Get Image.vi produce the error: " Invalid pointer". I tried with one creative webcam and one usb frame grabber. I both installed their own drivers after installing Vision Acquisition 2009, it's possible to acquire with their own softwares.
    And in Vision Assistant 2009, in the Acquire tab, the first item Acquire Image is unavailable and tells me "no image acquisition device is curerntly installed in your machine." The other Acquire Image items (IEEE 394, RT ...) are available but no cameras of these types are installed or plugged. This fact goes again Imaqdx Enumerates Cameras.vi, but the result is the same: it doesn't work.!

  • Imaq usb palet doesn't appear

    Hi all,
    Are anybody maybe encounter with problem after installation of imaq usb driver, the usb imaq palet doesn't appear :-(
    Outside the Labview I succeed to connect by Vision Assistant but in VI Vision Assistant doesn't see usb  camera.
    Thank you in advance fore help.
    Yan

    Hi Yan,
    This happened to me also. I have two versions of LabView, 8.5.1 activated and 8.6 Evaluation. I installed the driver like three times but I only tried with LabView 8.6 and no palet appeared. Finally, i tried in 8.5.1 activated and it was fine and working properly. If you have more than one version of LabView, my advice is to check them all and see in which one the palet is visible. Other than that, i can't really think of anything else.
    Hope this helps,
    Sabin

  • Imaq usb grab through tcp/udp

    Hello,
    Is there anyway to send the image grab from imaq usb grab through tcp/udp? The block I have tried is as below.. Anyhelp is really appreciated ty.
    Message Edited by cheras on 05-12-2010 11:13 AM

    Attachments:
    Send1.vi ‏66 KB
    Receiver1.vi ‏46 KB

  • IMAQ USB ON LABVIEUW 2009

    hi,
    I downloaded Imaq usb driver to use it with LV 2009 student and vision, on LV 8.5 (other pc) it works fine, but on LV 2009 there are no usb pictograms available in the vision menu, the other vision vi's are available.
    OS: win 7 and win xp ( won't work on both)
    Jeffrey
    Solved!
    Go to Solution.

    Hi Jeffrey,
    Starting with Vision Acquisition Software 2009 we integrated the IMAQ USB Support in IMAQdx.
    So you should be able to use IMAQdx functions for grapping images from USB Cameras, but keep in mind the need to bei DirektShow compatible.
    In former Versions ther was a sepperate Installer for IMAQ USB, that's right.
    Hope this helps,
    Christian

  • Imaq usb for 2010

    i have install labview2010,vdm2010,acquisition2010,imaq for usb. when i run labview2010, there is no tool about imaq usb.some related program can't load well.such as imaq usb inits.vi and so on.imaq usb can't run in labview2010??the program have imaq usb how to run?
    thans for help.

    You can use the USB IMAQ library along with the USB IMAQ application provided by NI. Right now i dont have those files with me in this PC. I can attach the application file and that library soon.. Mean while you can google for those things. They were made from LV 8.6 but supports upto 2009 (Am using)... you can try for 2010 also.
    The best solution is the one you find it by yourself

Maybe you are looking for

  • For Users of WRT350N - My experience

    For all you WRT350N Users out there, I thought I'd post my experience and tips gained over the past 7-8 months using the WRT350N since my WRT54G died. I purchased the WRT350N obviously as a replacement for the WRT54G with extremely high expectations.

  • ITunes library.itl cannot be read error message after new installation

    Hi, I have just downloaded iTunes to install on a new Lenovo laptop running Windows 8.1, and after installation I have received the following error message "iTunes library.itl cannot be read because it was created by a newer version of iTunes". It wa

  • Table API Extension for Oracle SQL Developer

    I just created small project [Table API Generator for Oracle|http://code.google.com/p/tapig/]. Idea is to only maintain tables and generate table API (TAPI) packages for data manipulation. Generated: - insert, update, delete, querying procedures - do

  • How to Install forms6i on Linux

    I am new to linux .Download forms 6i linux version for testing . Now after extraction of tar file. How to proceed for Installation?How to get OUI? any link or oracle doc?

  • How to access oracle R12 applications from windows client

    Hi All, I installed R12 oracle applications on Linux through VMWare and every thing was fine now. My database listener, database and applications are up and running. I installed Java and Mozillla and established a soft link on LInux but was not able