Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

using PCI 1409 with two camaras and triggers.How do I switch from ch 0 to 1.

I am using the initialize, trigger and snap VI. When I add channel 1 to the snap VI, the program runs without waiting for the trigger. What am I doing wrong? Do you have a sample VI?
0 Kudos
Message 1 of 2
(3,052 Views)
Are you trying to acquire from one camera at a time or switch between the two cameras in the same acquisition?

If you simply want to use channel 1 instead of the default channel zero, then just add a constant to the IMAQ Configure Buffer VI in the LL Triggered Snap example to specify channel 1.

If you want to alternate between the two cameras, then you could start with the LL Ring Scan Channels example. Add a Configure Trigger VI between the Configure Buffer loop and the Start and specify "Trigger Each Buffer". By default the example will set up an acquisition on all 4 channels, however you can change this to use only 2.

The board does not support using different triggers for different channels.

Regards,

Brent R.
Applications Engineer
National Instrument
s
0 Kudos
Message 2 of 2
(3,052 Views)