Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiprocess acquisition

I wrote an application using Vb 2005 (.NET) that acquires on a selectable firewire interface.
I want to try concurrent inspections so, while I'm not ready to write a multithreaded application in VB,
I've simply tried to run two times my application selecting the interface CAM0 for the first process and
the interface CAM1 for the second one. They both seem to run, but while one process shows the images
acquired, the second one does not. If I stop and restart the acquisitions on both processes, I can see only the
images by the first process I've restarted.

Where is the problem? I've also tried to set the apartment state of the application to both STA or MTA
(I've done this in the Init method of the main form).
--
Simone
0 Kudos
Message 1 of 3
(3,202 Views)

Hi,

can you see both cameras in MAX and snap from both? check this before, because maybe one of the cameras is not supported, or maybe you have to ignore the first image, or maybe you have to limit the rate or resolution of the acquisition for minimizing the bandwidth used.

Have a look at the following link for checking all of this:

http://digital.ni.com/public.nsf/websearch/1A248BABBE419EAE86256FA900691CA3?OpenDocument

 

0 Kudos
Message 2 of 3
(3,174 Views)
The two cameras was the same model, it was just a problem of bandwidth!
I forget to reduce the packet size for one of the two cameras.

Thanks
--
Simone
0 Kudos
Message 3 of 3
(3,165 Views)