08-21-2012 09:40 AM
Hello
I am using a NI 1772 camera with Vision Builder AI. I have an acquire image function which has an external trigger. The lighting fixture is to an advanced illumination pulsar 320 strobe control and I have two different lighting sources; Axial Diffuse Illuminator DL37100 and DL097. My final goal is to acquire crisp images of caps. The caps are coloured from white to black, where the DL37100 picks out the Dark colour caps and the DL097 can pick out the white caps. I have a program that automatically adjusts the exposure time based on the colour.
Is there a way I can trigger the acquire image, and have the inspection take two images of a cap and determine which lighting source to use?
09-16-2013 06:33 PM
You can interleave the light source trigger And take two images in sequence. You would need to create a dedicated circuit for this, or buy something off the shelf.
09-16-2013 06:53 PM
Instead of a dedicated circuit/hardware for this you could try using the on-board pulse generation functionality to do this. You could do something where one pulse generator is triggered by your outside source, and it generates a continuous pulse train of your frame rate. You'd then pass that output to an input that is triggering another pulse generator with a re-armed pulse with a delay of 1 edge count. The output of this would then effectively be for every other image. You'd then combine this with a single-shot, 2-image acquisition that is triggered off that intermediate pulse train. You'd have to make sure you stop the pulse train between each single-shot acquisition. Keep in mind that loop-back between output and input requires a pull-up resistor.
Note: I haven't tried this Rube Goldberg mechanism described above myself, but it seems like it could work 🙂
Eric