05-17-2012 02:48 PM
I've got a Point Grey Gazelle, camera link, in bulb shuttered trigger mode using a pulse generated at CC1. Everything works fine so far. I've been taking software-triggered sequence acquisition with:
imgSequenceSetup();
imgSessionAcquire();
The sequence proceeds fine, and finishes. Now, I need to use the card's SMB input to start the acquisition. I added a step:
imgSequenceSetup();
imgSessionTriggerConfigure2(sId, IMG_SIGNAL_EXTERNAL, 0, IMG_TRIG_POLAR_ACTIVEH, 100000, IMG_TRIG_ACTION_CAPTURE);
imgSessionAcquire();
I apply a 5V trigger, and it never starts! imgSessionStatus() always tells me I'm on frame -1. What's frustrating is that if I read the signal using
imgSessionTriggerRead2(sId, IMG_SIGNAL_EXTERNAL, 0, IMG_TRIG_POLAR_ACTIVEH, &status);
I can see it flip between 0 and 1 when I apply the pulse, but the acquisition still never starts.
I think I might be applying things in the wrong order, or perhaps I have a routing conflict. Any help anyone has would be greatly appreciated!
05-18-2012 04:44 PM
Hi there,
Have you tried to run the Triggered Snap example? In Windows 7, it is installed in "C:\Users\Public\Documents\National Instruments\CVI\Samples\IMAQ\Signal IO". Are you able to trigger with this?