Frame grabbers sync

Last modified by Lev Andronov on 2025/07/06 15:28

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:

  1. Enable "TriggerMode" for the camera (set to "1").
  2. Set "TriggerSource" to "LinkTrigger0".

3. Configure First Grabber (Master)

Master Grabber preparation:

  1. Set "LineSelector" of the grabber to the GPIO pin 19 which corresponds to TTL 0 (KY_TTL_0)
  2. Set "LineMode" to "Output"
  3. Set "LineSource" to "TimerActive0" (KY_TIMER_ACTIVE_0)

Timer preparation:

  1. Configure Timer generator on the grabber, e.g. "TimerSelector" set to "Timer0"
  2. Use formula Frametime = 1e+6 / ExpectedFPS, e.g. "TimerDelay" and "TimerDuration" set to Frametime / 2

Camera preparation (for each camera):

  1. Enable "CameraTriggerMode" for each camera 
  2. Adjust "CameraTriggerActivation" to "AnyEdge"
  3. Select "CameraTriggerSource" to "TTL 0" (KY_TTL_0)

4. Configure Second Grabber (Slave)

Slave Grabber preparation:

  1. Set "LineSelector" of the grabber to the GPIO pin 19 which corresponds to TTL 0 (KY_TTL_0)
  2. Set "LineMode" to "Input"
  3. Set "LineSource" to "TimerActive0" (KY_TIMER_ACTIVE_0)

5. Start Acquisition

  1. Start triggering by setting "TimerTriggerSource" to "Continuous" (KY_CONTINUOUS) which will initiate Continuous run of "Timer0"
KAYA Vision © 2025. All Rights Reserved.