I'm having this problem with the Image Acquisition ToolBox.
I'm trying to capture images from two USB webcams. When I try to preview each webcam separately, there is no problem. But when I try to preview both webcams at the same time I get this error on the second preview:
Error using imaqdevice/preview (line 177)
The image acquisition device failed to start acquiring images.
Any idea? I tried to connect my webcams in different USB ports and even whith a PCI USB expansion card and always the same problem.
This is my code (it only previews vid1):
vid1 = videoinput('linuxvideo',1);
vid2 = videoinput('linuxvideo',2);
h1 = image;
h2 = image;