External Device Sync Guide: OptiHub

Main PageMotive DocumentationSynchronizationExternal Device Sync Guide: OptiHub


Introduction

This page provides general instructions on how to use the OptiHub for integrating external devices with Flex series mocap systems. The OptiHub not only provides power for the USB cameras, but it also includes external sync in/out ports for integration of external devices. With proper configurations, you can have another device (master) control the mocap system or have the mocap system control another external device (slave), or both. Setup instructions for both slave and master devices will be covered. Note that the sync setup may vary depending on the type of integrated devices as well as the morphology of the communicated sync signals. Use this guide for understanding the general idea of how external devices are implemented, and apply it to your own needs.


External Device Synchronization

On the OptiHub, there are one External SYNC In and one External SYNC Out ports for connecting external devices. In general, master devices connect to the input port for controlling the mocap system, and slave devices connect to the output port to be triggered by the mocap system. Once the devices are connected, the input and output source needs to be configured under the OptiHub properties in Motive.

Warning2.png

Important Note

Please note that the OptiHub is not designed for precise synchronization with external devices. It is used to provide only a rough synchronization to a trigger event on the input/output signal. Using an OptiHub, there will be some amount of time delay between the trigger events and the desired actions, and for this reason, the OptiHub is not suitable for the precisely synchronizing to an external device. To accomplish such synchronization, it is recommended to use the eSync instead along with an Ethernet camera system.


Additional Notes:

  • Unlike the eSync, the OptiHub cannot generate an output signal at a higher frequency than the camera capture rate.
  • When using multiple OptiHubs, input and output ports of only the master OptiHub can be used. The master OptiHub is the first OptiHub within the daisy-chained RCA sync chain.


  • The OptiHub 2.
  • The OptiHub 2.
  • TrackingBars2.png

    Duo/Trio Tracking Bars: For Tracking Bars, use the Sync In/Out ports on the I/O-X USB hub.


    Synchronization Setup[edit]


    Setting Up a Master Device[edit]

    Step 1. [Hardware] Connect a master device into the External SYNC In port of the master OptiHub.

    Step 2. [Motive] Launch Motive.

    Step 3. [Motive] Open the Devices pane and the Properties pane under the view tab.

    Step 4. [Motive] Select the master OptiHub in the Devices pane, then its properties will get listed under the Properties pane.

    Step 5. [Motive] Under the Sync Input Settings section, configure the source and the corresponding settings. If you are using an external device connected to the External SYNC In port as the sync source, set the input source to Sync In. See more under the Input Source section of this page.

    Step 6. [Motive] Once above is configured, the camera system will capture according to the input signal, and you should be able to see the change in the Devices pane camera frame rate section.

    Setting Up a Slave Device[edit]

    Step 1. [Hardware] Connect a slave device into the External SYNC Out port of the master OptiHub.

    Step 2. [Motive] Launch Motive.

    Step 3. [Motive] Open the Devices pane and the Properties pane from the view tab.

    Step 4. [Motive] Select the master OptiHub in the Devices pane, then its properties will get listed under the Properties pane. By modifying the properties, you can configure the for outputting sync signals to the slave devices.

    Step 5. [Motive] Under the output section, set the output signal type. This will determine the signal characteristic that the slave device will receive. See the Output Source section of this page for details.

    Step 6. [Motive] Once this is set, the OptiHub will output configured signal through its output ports.

    Input Source[edit]


    The Sync Input configuration determines how the camera system is synchronized. Depending on which input source is configured under the custom sync settings, the cameras will shutter at the corresponding frequency. To configure the sync input signals, first define an input Source and then configure the respective trigger settings. The following input sources can be configured with the OptiHub:

    Internal Sync[edit]

    (The camera system will be the master)

    When the sync source is set to Internal/Wired the camera system uses the OptiHub as the sync source. This is the default configuration, and it uses OptiHub's sync protocol for synchronizing the cameras. The Master OptiHub will generate an internal sync signal which will be propagated to other (slave) OptiHub(s) via the Hub Sync Out Jack and Hub Sync In Jack, and all of the cameras connected to the OptiHubs will be synchronized. For V100:R1(legacy) and the Slim 3U cameras, Wired Sync protocol is used. In this mode, the internal sync signal will still be generated but it will be routed directly to the cameras via daisy-chained sync cables.

    When the Internal Sync is selected as the sync source, Internal Sync Freq (Hz) can be set under the Synchronization Control section. This setting determines how the OptiHub triggers the camera exposures or the camera framerate.

    Sync In[edit]

    (The camera system will be the slave)

    When synchronizing the camera system to an external device, set the source to Sync In, and the camera system references the external signal through the SYNC In port as the master sync. In this mode, the Input Trigger event must be defined so that the camera systems respond to the incoming signal as desired; available triggers are Either Edge, Rising Edge, Falling Edge, High Gated, and Low Gated. Note that the suitable event will vary depending on characteristics of the received signal and how you want the system to synchronize with it.

    For syncing to input signals with a frequency higher than the supported camera frame rates, the Input Divider can be applied so that the sync source is downsampled to the supported rate range.

    USB Sync[edit]

    (The camera system will be the slave)

    This mode is for customers who use the software development kits and would like to have their software trigger the cameras instead. Using the provided API, the OptiHub will can receive the trigger signal from the PC via the OptiHib's USB uplink connection.

    Output Source[edit]


    Using the BNC splitter for connecting additional slave devices.

    The External SYNC Out port of the OptiHub can be used if you want to set up the camera system to be a master of other systems. The output port sends out the sync signals which can be configured under the External Sync Ouput section of the OptiHub properties. First of all, understand the characteristic of sync signal that the connected slave device is expecting and configure the output source accordingly.

    • All output signals can be inverted by setting the Output::Polarity to Inverted.
    • For connecting more than one slave devices, output signals may be split using a BNC splitter.
    • The sync hubs are capable of sending out the following signals:

    Warning2.png

    Warning: Please be aware that there will be some delay between when the recording is initiated in Motive and when the camera system actually starts capturing the frames. This is a variable delay and it gets introduced due to the hardware limitation of the OptiHub. This delay can also be introduced at the end of the recording also. For precise synchronization, an Ethernet camera system and the eSync synchronization hub must be used.

    Exposure Time & Gated Exposure Time[edit]

    Exposure output signals to inform when the cameras are exposing. When the output type is set to Exposure Time, the sync hub asserts the output signals when the cameras are exposing, or shuttering, in the live mode. When the output is configured to Recording Pulse, the exposure signal is asserted only when Motive is recording.

    • Exposure Time output signal.

    Recording Gate / Recording Pulse[edit]

    The Recording Gate signal can be used to signal the slave device when Motive is recording. When configured to Recording Gate, the OptiHub will output a constant high voltage signal as Motive is recording.

    However, please note that OptiHub is not designed for precise synchronization purposes, and the outputted recording signals may not exactly align with the recording trigger. In addition to the delay between when recording is initiated in Motive and when the camera system starts capturing the data, there will also be a slight delay before the OptiHub actually starts outputting the signal. Please refer to the below images for reference. This delay could vary on each camera system setup.

    • Recording Gate output signal.
    • Recording Pulse output signal.

    Info2.png

    Recording Output Signal (OptiHub) Note:

    The gated (while-recording) output signal from the OptiHub is not frame-synchronous with the recorded frame data. There will be two delays that would affect this, and for this reason, there will be a slight offset between the outputted recording signal and when the camera system starts capturing the data.
    • Recording Trigger: The Delay between when recording is initiated in Motive and when the camera system starts capturing the data.
    • Recording Signal: Delay between when recording is initiated in Motive and when the recording signal gets outputted from OptiHub.

    Pass-Through[edit]

    The Pass-through type outputs the signal that is received through the SYNC In port.