> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/lab/study-setup-and-design/stimuli/advanced-stimulus-markers/slide-show-settings-enable-ttl-output-in-imotions.md).

# Slide Show Settings: Enable TTL output in iMotions

Send TTL pulses from iMotions Lab to third-party devices at slideshow start or at each slide change using the Neurospec TriggerBox.

*This article will explain how to enable data synchronization with iMotions using Transistor-Transistor Logic (TTL) via the* [*Neurospec TriggerBox*](https://www.neurospec.com/products/mmbt-s)*.*

## Introduction

The purpose of the TTL module is to be able to synchronize iMotions data with data collected by third party devices like EEG systems & motions capture systems etc. that are neither integrated directly into iMotions nor supported by our [API](https://help.imotions.com/lab/sensor-setup/api.md). The TTL module sends a digital synchronization pulse to the third party device:

1. Whenever a slideshow is started in iMotions
2. Whenever a slide change occurs.

## Requirements

The third party device must be able to accept a TTL pulse for synchronization. Most hardware (EEG, motion capture devices, analog-to-digital boards) have this functionality. However, please check the manual of your device. The TTL input port may vary across devices but parallel ports or female BNC connectors are some of the commonly used ports. Depending on your input port type, you will need a standard parallel cable or a parallel to BNC cable to connect iMotions to your equipment. Please contact iMotions support if you need assistance on determining the requirements for your specific setup.

## Hardware

![0001092\_mmb-trigger-box\_750.jpeg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-c596192f1109e94ba32cba47b3a5bb6cb70c0817%2F817874bc85_0001092_mmb-trigger-box_750.webp?alt=media)

iMotions supports the **Neurospec Triggerbox**, a USB to Parallel adapter that will allow you to send out TTL triggers from iMotions. This device has an inbuilt Arduino chip that allows for communication between the computer and the adaptor. The TriggerBox is available here: [**neurospec.com**](https://www.neurospec.com/products/mmbt-s). Other similar devices may work the same way but have not undergone validation testing by iMotions; please contact iMotions Support if you have plans to use a different TriggerBox model.

### Connecting the TriggerBox to the Computer

Follow the instructions in the manual for the TriggerBox and install the device drivers. The TriggerBox should be plugged into an SS USB 3 port. Once this has been completed, doublecheck your installation by opening the Device Manager in Windows, and look for the device under Ports (COM & LPT)

In this example the Arduino Micro is on COM5. Please note down your COM port and continue to iMotions. **Be aware that the COM port number may change if you disconnect the device or if the computer is restarted.**

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-85589c146cb7efa16e46e96b9a42a8e8302b8234%2F4e9d80ffe3_3s9bp8t6v0iltqaejjzkhqmceclip1.webp?alt=media)

## Setting up the TriggerBox in iMotions

Go into iMotions Preferences -> Global settings and select the tab "Slide Show"

* Under the "Enable TTL output" menu, check "Enable TTL output".
* Select the COM port where the TriggerBox is located from the drop down menu.
* Use the "Output signal at" drop down to select if you want a TTL output for every slide or just for the first slide
* Select the appropriate pin settings. Any combination of pins 2-9 can be selected as output. If you use a parallel to BNC cable you should know which pin of the parallel port is connected to the BNC cable. If you are using a standard parallel cable please refer to the manual of your third party device to find details on the correct pin selection.

Once the setup is completed exit the global setting by pressing "ok"

You should now see the following widget in iMotions' sensor panel. The settings you just applied in the global settings are now displayed on the widget. Once you start the experiment, please validate successful transmission of the TTL pulse to the third party device.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f2c4785a90d4357d3e9f72b373aee332015f64bf%2Ffb46516c8f_s544bitpqeka2ud7xndb8amceclip3.webp?alt=media)

If the TriggerBox is ever disconnected from iMotions during data collection, the widget will change its status to Not Available.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-2c2d380760ec26e62d72ce2b4bef64136d83ecc6%2F617434bc7d_je3uunliaua60icdvccp8wmceclip4.webp?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/lab/study-setup-and-design/stimuli/advanced-stimulus-markers/slide-show-settings-enable-ttl-output-in-imotions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
