Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering a gigE Dalsa linea linescan camera

I'm currently attempting and failing miserably to trigger a Dalsa linescan camera (8K linea gigE) with an encoder pulse from an animatics smart motor. In NI Max there appears to be an option to configure the camera with an external trigger. However, the camera does not appear to be being triggered at the correct rate. I've tried various combinations of multipliers, dividers, trigger sources  and the result is always the same - it seems like the camera exposure time is being used to determine the timing rather than the trigger pulses. I'm going to try dividing the trigger pulses in software using a DAQ PCIe card, but in the meantime if anyone can shed any light on the problem I'd be most grateful.

 

Regards

Simon 

0 Kudos
Message 1 of 3
(3,097 Views)

Hi Simon, 

 

 

Have a look at this example program that talks about Triggered GigE acquisition that uses a DAQ device to create a pulse train. 

https://forums.ni.com/t5/Example-Programs/Triggered-GigE-Acquisition/ta-p/3509497

 

I hope this helps. 

 

Regards, 

Leo

0 Kudos
Message 2 of 3
(3,040 Views)

Hi Leo,

 

Thanks for this. I am aware of this option and is one I may revert to if my current approach fails. I'm currently connecting the camera directly to the enc A output of the motor. After some discussion with Stemmer regarding the configuration of the Dalsa camera I have got it responding to the motor encoder pulses. However, the image is slightly compressed in some regions and not others which rather goes against what the encoder is supposed to do. If I run in free run mode the distortion is not evident. Ideally I need a scope to look at the pulse train to understand if the problem is a real effect or just some comms issue!

 

Regards

Simon 

0 Kudos
Message 3 of 3
(3,037 Views)