Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI and 2 cameras

I have IMAQ PCI-1409 card and IMAQ-A6822 image acquisition board.
I must make in LabWindows/CVI program which grab image from Channel0
and Channel1. Have anybody sample program which acquire image from 2
channel.
Thx.
0 Kudos
Message 1 of 6
(3,484 Views)
Hi Indrek,

There is an example program that ships with ni-imaq titled "scan 1408 channels.prj" (works with PCI-1409 too).The default location for this program on your hard drive is \samples\imaq\Ring\scan 1408 channels.prj

This sample demonstrates how to scan the 1408 and 1409 channels in multiple buffers using low-level functions, not the high level functions such as grab, but should enable you to get started. The video sources need to use the same synchronization signals.

If you are unable to locate this example on your hard drive then you can download it from Developer Zone,
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/f46626a8e180886f86256874007c96db?OpenDocument

I hope this example is of use,

Sam
0 Kudos
Message 2 of 6
(3,484 Views)
Hallo Sammy

Thx for example.
Must I use synchronize cable between two cameras like in shema in
http://www.ng.edu.ee/~indrekm/skeem.gif
0 Kudos
Message 3 of 6
(3,484 Views)
Hi Indrek,

There is a Knowledgebase entry on the ni.com web site that discusses multi channel acquisition with the PCI-1408 (PCI-1409). It also talks about synchronizing multiple camera's ( and yes accordingly, the cabling in your schema from csynch out of the master camera to csynch in on the slave would be accurate.)
If you get the opportunity please check out the following link,


http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/7acf4fb3596cec8b862567d8006d86e0?OpenDocument

If you haven't already done so then take a look at the NI support site and the knowledgebase in particular, I think you will find them very useful as you develop your application.

Best Regards,
Sam
0 Kudos
Message 4 of 6
(3,484 Views)
I need to do the same thing that Indrek is doing. I downloaded the "scan 1408 channels.prj", but my computer does not recognize the .prj extension. How do I use this file?
0 Kudos
Message 5 of 6
(3,484 Views)
The .prj extension follows the name of a CVI project file. CVI is the name for NIs C programming environment. If you do not have CVI on your computer, you can still take a look at the C code that accompanies the .prj file. While the code needs the CVI library to run, the function calls to NI-IMAQ will be the same in any C programming environment. Hopefully it will give you a head start in programming your own system.

Also, there should be similar example programs on our web site for LabVIEW or Visual Basic if you'd prefer to program your IMAQ system in those languages.
0 Kudos
Message 6 of 6
(3,484 Views)