Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger a grab or a buffer in the ring

Hi there,
 
 I am using a IMAQ-1428 frame grabber card with a LD3500 digital line scan camera from PerkinElmer corporation. I am triggering my grabber card using an external signal coming from a dSpace board. My question is how can I program the device to grab the current image on the frame grabber for every trigger that I supply. I can even use ring acquisition and and can trigger each buffer but I do not have any idea how I can program it. If anyone can provide some example code for triggering each grab or each buffer in the ring, it will work out great for me. I really appreciate any information in this regard. My platform is MS Visual C. Thanks.
 
Best Regards,
Sampath Gollapudi
0 Kudos
Message 1 of 2
(3,098 Views)
Hi Sampath -

The shipping example found at \National Instruments\NI-IMAQ\Sample\MSVC\Ring\HLRing will show you how to set up a ring acquisition. 

To add triggering, use the
imgSessionTriggerConfigure2 function. The last argument to this function determines the triggering action.  IMG_TRIG_ACTION_BUFFER will configure the board to trigger each buffer.

Further information about triggering functions can be found in the NI-IMAQ Function Reference Help, found in the National Instruments >> Vision >> Documentation
group of the Start menu.
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,089 Views)