LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble acquiring camera image simultaneously by using IMAQdx

Solved!
Go to solution

Hi there.

I'm trying to grab image simultaneously by using 2 USB cameras but it isn't working.

When i turned on 2 cameras, one works fine but the other one makes timeout error in grab function.

So, i made same 2 vi that has general grab program and same thing happens again.

For last i tried to use snap function and almost same thing happens again. (timeout camera changed)

I think there's something like reference issues but i couldn't find anything to deal with it.

Any suggestions to solve this problem?

I attach the general grab program i used.

0 Kudos
Message 1 of 4
(2,660 Views)

First, I cannot "test" your "picture of your Block Diagram" -- if you want help, help us by attaching your actual VI, which we can try to run (and notice errors), edit (and maybe fix errors), etc.

 

Second, we have a project where we monitor 24 stations at 30 frames per second, all at the same time.  The "trick" is that the communication with the cameras is via TCP/IP, not USB.  We have tried to run the same code with USB WebCams, and find that the speed and structure of the USB bus makes multiple camera acquisition much more difficult (we essentially abandoned that route four years ago).

 

Bob Schor

0 Kudos
Message 2 of 4
(2,630 Views)

Attaching the vi for test.

There's no problem for using 1 camera with this vi, but copy vi's content and make them run together with another camera makes timeout error.

0 Kudos
Message 3 of 4
(2,627 Views)
Solution
Accepted by topic author tteri

Got a solution by my self.

The problem was that i connected both camera to 1 USB hub...

As i connected 1 camera to backboard usb port, it works.

I think, to get much more USB camera, there should be many native USB port on PC

0 Kudos
Message 4 of 4
(2,621 Views)