LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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.
0 Kudos
Message 1 of 10
(6,160 Views)
Hi,

Have you tried using MAX (measurment and automation explorer) to acquire image from your camera ?
I think it is easier to start from there when you use a device for the first time.

Hope this will help...


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 10
(6,147 Views)
Well, it doesn't show up in MAX for some reason.  It shows up in vision assistant, but I get the same time out error.
0 Kudos
Message 3 of 10
(6,140 Views)
Hello asdfwww,
 
Thank you for contacting National Instruments.  Keep in mind that this driver operates by making calls to the camera using a Directshow filter.  In order for this to work, the camera must be Directshow compliant.  Please check if your USB camera follows this compliance.  For more information, check out the NI_IMAQ for USB Cameras User Guide which can be found under Start >> Programs >> National Instruments >> Vision >> Documentation.
 
Regards,
 
Mike T
National Instruments
0 Kudos
Message 4 of 10
(6,120 Views)
Thanks for your reply,

    I did read throught that document before getting started and it was helpful in setting up my program.  I didn't have any luck finding out if my camera is directshow compliant from the manufacturers website, but I did do a direct x diagnostic and under the direct show filters catagory I found my camera.  So I believe it is directshow compliant.

From dxdiag:
------------------------
DirectShow Filters
------------------------

WDM Streaming Capture Devices:
Veo PC Camera,0x00200000,0,2,,5.03.2600.2180

Video Capture Sources:
Veo PC Camera,0x00200000,0,2,,5.03.2600.2180

The program seems to work except for the time out error.  IMAQ USB Enumerate Cameras.vi finds my camera and when the program gets to IMAQ USB Snap.vi the indicator light on the camera goes on then off.


0 Kudos
Message 5 of 10
(6,115 Views)

asdfwww,

I would check with Veo to be sure that the Stingray offers a Directshow function set to acquire images with it. 

Regards,

Mike T

National Instruments

0 Kudos
Message 6 of 10
(6,097 Views)

I had also a problem with the snap vi, using a Logitech QuickCam for Notebook camera :  LabVIEW (8.2, with Vision 8.2 and NI-IMAQ 8.2.1 ) crashed with the message :
"Visual Studio win32 exception occured in LabVIEW.exe (2108). Just-In-Time debugging this exception failed with the following error:No installed debugger has Just-In-Time debugging enabled".

The interesting point is that the grab function worked without problem


 

Message Edité par chilly charly le 10-23-2006 05:44 AM

Chilly Charly    (aka CC)
0 Kudos
Message 7 of 10
(6,087 Views)
I'm assuming that your Logitech QuickCam camera is USB.  If this is the case there is not much we can do.  You could try to reinstall the Vision Development Module and/or the IMAQ driver.  The IMAQ for USB is not officially supported by National Instruments.  If you need something to directly connect to the computer without a frame grabber, it may be better to use a firewire camera and our firewire driver (assuming that you have a firewire port).
 
Christopher W.
0 Kudos
Message 8 of 10
(6,070 Views)

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)
0 Kudos
Message 9 of 10
(6,063 Views)
Hello CC,
 
It looks like others have experienced this problem before.  Look at this forum post of a customer with the same problem which was replied to by the NI IMAQ/Vision Product Support Engineer.  It looks like there really isn't much we can do.
 
 
Christopher W.
Message 10 of 10
(6,034 Views)