Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make multiple camera acquisition with multiple trigger signal on the PCI1410?

Hello,
 
I'm trying to connect 4 cameras on a connexion box for the PCI 1410. The four cameras works by group of two and each of this group is activated by an external signal (2 signals thus). Each group functions 3 times per second but asynchronously. (I'll take 3 images/sec on each cameras => 12 fps)
My cameras are progressive scan with 60 fps rate.
How can I program it with CVI ?
I find an example for a one-camera triggered application and another example for multiple channels framegrabber PCI 1410 (4 cameras without trig). But this last example doesn't really works because of non synchronisation of each cameras. I only see correctly the first channel.
 
Thanks for your help,
Seb
0 Kudos
Message 1 of 3
(3,503 Views)
This is a relatively old topic, but I am now investigating more or less the same situation: how can I handle multiple camera's within CVI. Have you solved it?
0 Kudos
Message 2 of 3
(3,393 Views)
It's indeed an old project for me. I could try to remember.

We change our specifications : our 4 cameras work now one after the other (with a specific order) triggered by the same signal. We initialyze a buffer with 4 elements (4 channels) triggered by the unique signal and we start the acquisition process. When an acquisition is done, a callback is called and we can make the process. As return value, we have to put TRUE if we want to have a continue acquisition. Otherwise, the acquisition is stopped.
An other problem is the synchronyzation of the cameras because only the first image have a correct vertical synchronization. We created a pulse by means of CVI  and send it through a digital output of the connexion board to all cameras so we can synchronyze all these ones at once.
In fact we send 2 pulses : HSYNC on trig 1 output and VSYNC on trig 2 output.
You have to use 'imgPulseRate', 'imgPulseCreate2' and 'imgPulseStart' before the imgSessionConfigure function

I expect this little explanation could help you but the subject is difficult and I don't have a lot of time

Seb
Message 3 of 3
(3,381 Views)