Frame grabbers sync
You can synchronize two frame grabbers to start image acquisition simultaneously using GPIO triggers. One frame grabber must be set as Master, and the other as Slave.
This instruction can be applied for Komodo II, Komodo III and Predator II frame grabbers.
Hardware requirements
- 2x frame grabber
- Pin-to-pin jump wires
Connect the two grabbers using instructions from the "Frame Grabber and Simulator Hardware Reference & Installation Guide" sections GPIO Connectors and GPIO Pinout. For this case, connect pin 18 to pin 18 (GND) and pin 19 to pin 19 (TTL0). Connect at least one camera to each grabber.
Configuration steps
1. Initialization
Open both grabbers.
Detect cameras for each grabber.
Co1nnect all detected cameras.
2. Configure Cameras for Trigger Mode
For each camera on each grabber:
- Enable "TriggerMode" for the camera (set to "1").
- Set "TriggerSource" to "LinkTrigger0".
3. Configure First Grabber (Master)
Master Grabber preparation:
- Set "LineSelector" of the grabber to the GPIO pin 19 which corresponds to TTL 0 (KY_TTL_0)
- Set "LineMode" to "Output"
- Set "LineSource" to "TimerActive0" (KY_TIMER_ACTIVE_0)
Timer preparation:
- Configure Timer generator on the grabber, e.g. "TimerSelector" set to "Timer0"
- Use formula Frametime = 1e+6 / ExpectedFPS, e.g. "TimerDelay" and "TimerDuration" set to Frametime / 2
Camera preparation (for each camera):
- Enable "CameraTriggerMode" for each camera
- Adjust "CameraTriggerActivation" to "AnyEdge"
- Select "CameraTriggerSource" to "TTL 0" (KY_TTL_0)
4. Configure Second Grabber (Slave)
Slave Grabber preparation:
- Set "LineSelector" of the grabber to the GPIO pin 19 which corresponds to TTL 0 (KY_TTL_0)
- Set "LineMode" to "Input"
- Set "LineSource" to "TimerActive0" (KY_TIMER_ACTIVE_0)
5. Start Acquisition
- Start triggering by setting "TimerTriggerSource" to "Continuous" (KY_CONTINUOUS) which will initiate Continuous run of "Timer0"