Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Builder Trigger Continuous Image

Hi,

I am using a NI 1772 camera with Vision Builder AI. I have an external power supply hooked to a light source along with a external trigger which is connected to the Trigger input for the camera. I want to know if there's a way I can set up the camera so I can hit the trigger once and take 10 continuous shots for one state inspection, then using the same trigger, take a single image in the next state.


Thanks

0 Kudos
Message 1 of 5
(3,919 Views)

The simplest way I can think to do this would be to loop one of the outputs to the trigger input (you may need a pull-up resistor) and configure a pulse train that is started by a trigger on a different input line. Then you would setup a sequence of 10 images and the acquisition will stop after 10. You could then reconfigure the pulse for a single-shot one in the next state.

 

Eric

0 Kudos
Message 2 of 5
(3,916 Views)

What do you want to do with the first sequence of 10 images? If you give us more information, we might be able to help better.

Vision Builder AI does not have the notion of sequence image acquisition. You could add a first acquisition step, triggered, followed by 9 steps not triggered, or as Eric mentioned, looping 9 times on a second state that contains a single acquisition step not triggered.

In Vision Builder AI 2012, that just released, we added the notion of Acquiring Every image, which ensures that you get consecutive images (at the frame rate provided by the camera).

 

-Christophe

 

0 Kudos
Message 3 of 5
(3,912 Views)

The first sequence of images is to automatically adjust the exposure time for different coloured caps. I can already do this by manually triggering the camera. Once I trigger it, the inspection state runs and adjusts the exposure based on the intensity of the cap then checks to see if its within a certain range. If it isn't within the range it returns to the acquire image and I need to re-trigger the inspection and the process starts again till it has satisfied the specifications. Once the exposure has been set, I need the same trigger to capture images of the caps to perform another inspection.

What I'm wanting to do is trigger the first state inspection once and have it take an image continuously of the cap as it adjusts the exposure time till it satisfies the specifications. I used 10 images because that is about how long the auto adjustment lasts for the longest time.

I like the idea of the looping from an external output. Would I be able to link that to the specifications of the state kickout? If so that would be great!

Thanks again for the input.   

0 Kudos
Message 4 of 5
(3,907 Views)

I want to make sure that I have the wireloop right. What I've done is wired up a 3K pull up resistor from the 24volt supply to the possitive port of one of the output which is wired in parallel with the positive port of the trigger input. The negative side is wired to ground. I have a switch wired across the Trigger Input which Triggers the light.
Will I then wire the Output terminal from the  directly to a input terminal?
If I do this willI have an input line that can trigger off pulses to the external stobe output which controls the lighting to the camera? 

0 Kudos
Message 5 of 5
(3,888 Views)