Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use 2 1409 boards with sony xc55 to acquire 2 images simutaneously

We want to use two 1409 boards with two sony xc55 cameras to acquire two images simutaneously. From the attached files, you will find what I have done and the problems. I just followed the example program from you. But it doesn't work well. Could you help me? thank you very much.
0 Kudos
Message 1 of 2
(2,939 Views)
Kobel,

Both cameras are being triggered at the same time, and both boards are aquiering the image at the same time. The problem you are seeing is related to copying the correct image.

The IMAQ driver is not currently multithreaded, therefore your second copy opperation can not execute until your first one is done. The trouble is that you have the immediate terminal set to false which forces the copy to wait for the next available image before returning.

Since the second copy does not execute until the first one is complete, it will consider the frame that just passed as old and wait for the next available frame.

The quick solution is to change the immediate terminal to true on both copies. The best solution depends on your entie application. You may want to re
ad this application note on Ring Aquisitions for ideas.

Regards,
Amaury Rolin
NI Applications Engineer
0 Kudos
Message 2 of 2
(2,939 Views)