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

Similar Messages

  • 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

  • Error 1074396024 occur at imaq usb snap.vi

    hallo, ich habe labview 8.0 mit dem vision development modul und
    benutze eine logitech webcam zur bilderfassung. ich habe ein vi
    erstellt das im zeitraum von 1s ständig neue bilder macht und diese mit
    einem referenzbild vergleicht. mein problem ist das so bei ungefähr
    1000 vergleichen eines neuen bildes mit dem referenzbild der fehler
    1074396024 occur at imaq usb snap.vi auftritt und ich aber nicht weiß
    warum.  würde mich freuen wenn mir jemand helfen kann

    Please have a look at this thread which discusses similar issues in detail.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • IMAQ USB Snap hangs all of LabVIEW?!?

    I am having trouble with my USB cameras hanging a production machine. We are using 4 usb cameras from uEye for inspection and vision correction on a pick and place robot. The application is multithreaded, yet when the SNAP VI hangs, all threads in the application hang.
    I can repeat this problem by disconnecting the USB cable to a camera. The system does not recover even after the USB is reconnected.
    I have found in the past the Microsofts USB driver power managment seems to have an effect on the reliability of the USB system. The machine is also exposed to vibration which could cause intermittent connections.
    While we are trying to solve all of these issues, I seem to have no way to detect if the camera is present before snapping the image. I cannot seem to prevent the system from snapping while the USB is disconnected.
    Is there anything than can be done in order to have the SNAP vi return an error rather than hanging, or to tell the status of the device before snapping?
    I have attached two example VI's which both repeatably cause the freeze. Just run the sample, plug in the usb camera, then disconnect it.
    Im not sure if this is a LVDirectShow level issue, a DirectShow level issue, or a Camera Manufacturer(driver) issue (uEye).
    If anyone has another brand of usb camera and can give my tests a quick run I would appreciate the feedback.
    Thanks,
    -Tim
    Certified LabVIEW Developer
    Attachments:
    ConnectJustInTime.vi ‏55 KB
    ConnectJustInTime1.vi ‏55 KB

    Oops, I posted the same sample twice. heres the other one.
    Attachments:
    ConnectSnapDisconnect.vi ‏56 KB

  • IMAQ USB Grab.vi not collecting image, USB Snap.vi does

    I am trying to continously collect video data using a USB device.  the USB Snap.vi does great at capturing a single image, however USB Grab.vi returns a blank image.  I don't get any errors when I run the Grab.vi, just no image.  Any help would be appreciated.

    This works for me.
    Message Edited by rpursley8 on 07-13-2009 03:42 PM
    Randall Pursley
    Attachments:
    Untitled 1.vi ‏44 KB

  • USB SNAP + colour pattern matching ( IMAQ)

    I am new to LAbView and currently  I am working on colour pattern matching with USB snap. My problem is this program keep prompt me on the IMAQ Learn Colour Pattern. I need someone to help me solve that problem.
    Another question is 'Are colour pattern matching require us to save and load file before learn a template?'
    I am using LabView 7.1 and I would appreciate anyone who help me. Thanks
    Message Edited by Chee Hou on 09-16-2009 03:46 AM
    Attachments:
    Untitled.vi ‏189 KB

    Hello Chee Hou,
    Have you tried to run the example to do color pattern matching?
    From the example, you do need to have a template picture ready when you are using the colour pattern matching.
    You need to Learn Colour Pattern and then load the pattern to do color pattern matching.
    Hope this helps.
    James
    - Meadow -
    LabVIEW 7.0 - 2011, Vision, RT, FPGA
    TestStand 3.0 - 4.5

  • I have a 16GB 3GS phone. For the last few days, my phone is constantly giving me message that the accessory attached to my phone is not optimized for this iphone. You may experience noise or poor communication, while there is no acessory attached to it.

    I have a 16GB 3GS phone since about20 months now. For the last few days, my phone is constantly giving me message that the accessory attached to my phone is not optimized for this iphone. You may experience noise or poor communication, while there is no acessory attached to it. I always used standard headphones and charging cable. Now when i recall, it started at one of the sync sessions with my itunes. I have turned my phone off and aon again and again but the message keeps coming every one or two minutes.I have also started loosing voicce on different applications like youtube etc. Also the ringer volume up and down key does not show me the small boxes increasing or decreasing on screen. The phone is playing crazy. Can someone help please
    Thanks
    Zia

    It helped earlier but it has come back again. I don't know what to do. I tried what you said earlier but this time even this is not working either. And quite intrestingly my phone won't turn off. I turn it off, it goes off and then restarts on its own and then keep giving the same message again and again.
    Could it be a charging cable, is there any chance that the cable which was working fine one day could turn to be "incompatible" with iphone the other day????????
    Please help

  • Why tethering with USB cable doesn't work after IOS6.0 update?

    why tethering with USB cable doesn't work after IOS 6.0 update?

    Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot

  • 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

  • Acrobat Pro is now constantly giving me the error message (program not responding) when I try and perform any kind of action.

    Acrobat Pro is now constantly giving me the error message (program not responding) when I try and perform any kind of action.

    Hi cruzsanta03,
    Can you please let us know the following:
    - Operating System;
    - Complete version of Acrobat installed;
    - Experiencing this issue with a particular file or all PDF files;
    - Experiencing this issue while performing a particular task or with any task;
    - Files are saved on the local machine or on a share drive;
    - Launch Acrobat in Safe Mode and then check the issue. Hold 'Shift' key and launch Acrobat, and then check the issue.

  • 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

  • Why is the latest update failing and giving me this_ U44M1P7?

    See above. Why is the latest update failing and giving me this_ U44M1P7?

    Hi cfosofart,
    Please go follow the mentioned kb: http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html .
    Regards,
    Romit Sinha

  • Why is Safari reloading my pages constantly?

    Why is Safari reloading my pages constantly, very annoying.  Running OSX 10 and Safari 7,0,4.  Started happening today when I turned my mac on.  Pages refresh 4 to 5 times per minute and using back page becomes impossible/pointless.  I have reset Safari but that does not help.  Any ideas please?

    Looks like I have solved this myself, some adware was installed on my Mac, grrrrrrrrrrrr!

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

Maybe you are looking for

  • ORA-01403: no data found BPEL Error on DB Adapter

    Dear All, I am using a DBAdapter to call a Stored Procedure in a Package. One of the parameter of the stored procedure is of table type. While invoking the BPEL Process, it shows the following error: Fault Error.com.oracle.bpel.client.BPELFault: faul

  • How do I get stickies widget to recognise playlist file?

    I am trying to move my dashboard stickies from my old macbook pro on 10.6 to a new imac with 10.7. I have transferred a file from OSX 10.6 called  "widget-com.apple.widget.stickies.plist" into the preferences folder of my user's library I confirmed t

  • DNS is messed up

    I have an older PowerPC G4 iMac that I use at school because I prefer it to the Dell Box from1999 that I'm supposed to use. Over the summer, the tech department installed a new version of PowerSchool. With older versions, I never has many issues, but

  • The infamous "We had difficulty downloading episodes from your feed" error

    Hi all, I'm trying to submit a podcast to iTS, but it's failing with the infamous "We had difficulty downloading episodes from your feed" error. The feed validates (here and here); all the tags that are suppossed to be there are there; the enclosures

  • Error when SDM JDBC driver for Oracle

    When deploying the JDBC driver for Oracle on PI 7.0, I failed to achive. I got the following trace information from SDM. After checking the system directory structure, I found that very interesting thing. First I downloaded aii_af_jmsproviderlib.sda