LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering an analog camera with labview

Hi,

I want to trigger start of image acquisition from a PCI-1411 card and a analog camera. I am trying to use PCI-6229 device for generating continuous signals. I am running the sample VI in NI example finder "Gen Dig Pulse Train-Continuous.vi" to generate pulses and at the same time running the "HL Triggered Snap.vi" to acquire images from the card. The error message says Timeout error(Error -1074397150 occurred at IMAQ Snap.vi). I have connected the Ctr0 Out of the DAQ board to the trigger in BNC port of the PCI-1411 card. The image acquisition device is not getting the trigger signal. Please help me regarding this.

0 Kudos
Message 1 of 2
(2,501 Views)

Hey krishsaha22,

 

There are a number of variables at work here, we need to narrow down the problem. First, if you are looking to do a continuous triggered acquisition, you should check out the grab examples. 'Snap' is for a single shot acquisition. Second, we need to figure out if the issue is your DAQ card not providing the pulse train as expected, or if the IMAQ card is getting the TTL pulse but still not acquiring.

 

Do you have any means of making sure that you are actually generating the pulse train that you are expecting? Do you have any other means of providing a TTL trigger signal to your IMAQ device? What does your pulse train look like? Is it possible that it is very fast and the pulse width is too small that the IMAQ device is missing the trigger? Is it possible that the your pulse train is slow enough to trip the timeout set in your program (1000 ms)?

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 2 of 2
(2,471 Views)