06-28-2016 11:40 AM
06-29-2016 07:41 AM
What kind of camera are you using? Does it have hardware trigger functionality? Does your flash have hardware triggering too? What kind of I/O modules do you have in your compactRIO? The best option here will be to use a digital output signal as a hardware trigger to acquire an image and strobe the flash on the same rising/falling edge. Many camera will also allow you to set a trigger delay in case you want to start acquisition (exposure) a short time after the trigger is actually received.
A timed loop or sequence might be able to synchronize things enough if hardware triggering is not an option. You can learn more those structures here: http://zone.ni.com/reference/en-XX/help/371361M-01/lvconcepts/con_timed_structs/
06-29-2016 09:47 AM
Thanks for the answer. The camera is just an analog camera connected through the Movimed AF1501. It does. My "flash" is not really a flash but a custom made LED lamp, controlled with the ni 9474. Those two are the only modules I have in the cRIO.
So you think the best option is using hardware triggers and not through programming?
06-30-2016 11:22 AM
In almost all applications, hardware triggers are going to be better synchronized than any software trigger you could develop. Not knowing anything specific about your camera, I would agree that synchronization should be done through hardware triggering.