> 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/imotions-setup/latency-settings.md).

# Latency settings

Understand the default sensor latency corrections in iMotions Lab and change them per study or per respondent to realign sensor data in time.

*This article discusses how to change the default latency settings for the different devices.*

The iMotions software is compatible with hardware from different providers. For instance, it is possible to record eye-tracking data using a Tobii Pro eye tracker, GSR data using Biopac, and EEG data using NeuroElectrics’ Enobio32. However, each hardware has its own device-specific latency – a latency which reflects the time it takes for the hardware to register the data and send it over to the iMotions software – and this complicates the synchronization of these devices.

## What are the default latency settings used by iMotions?

In order to correct these device-specific latencies (or ‘offsets’), the iMotions software works with estimated latencies. These estimates are either based on documentation provided by the hardware manufacturer, or based on internal testing, whereby, in a controlled fashion, we triggered the sensors using an electrical pulse.

The default device-specific latencies used in the iMotions software, are listed in the table below.

| Sensor                                      | Default latency (ms) |
| ------------------------------------------- | -------------------- |
| ABM B-Alert                                 | 40                   |
| Bluetooth Low Energy sensors                | 30                   |
| Shimmer                                     | 28                   |
| Emotiv (Emotiv Cortex)                      | 25                   |
| Biopac                                      | 16                   |
| PLUX biosignalsplux and respiBAN            | 16                   |
| Brain Products actiCHamp                    | 10                   |
| Eye trackers, cameras and all other sensors | 0                    |

Sensors without a latency estimate have a default latency of 0 ms, so their timestamps are not corrected.

The [Sensor Preview](https://help.imotions.com/lab/data-collection/sensor-preview-window.md) always applies the default latencies when it shows live data. Latencies that you change for a study or a respondent, as described below, are applied to the recorded data and not to the Sensor Preview.

However, it is possible for users to change these default latency settings.

## How to change the default latency settings?

In order to reach the latency settings, click the name of the study in the library and select the tab ‘latency settings’. (Make sure to click on the study name, not the name of the analysis).

![The Latency settings tab of a study](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a39546c602a87ca27610f48971331c718ad59a1a%2Flab_library_latency-settings_study.png?alt=media)

It is possible to change the values by typing in new estimates in the boxes (in milliseconds). For instance, these could be the results of your own testing. By clicking ‘reset’, the latency settings can be set back to the default settings.

## What exactly happens if you change the default latency settings?

The reason for allowing a device-specific latency correction is to correct for the possibility that data registered within the iMotions software was collected with a given delay- which means that these data correspond to events, which, in reality, happened a few milliseconds earlier. The latency correction then makes sure that the data collected by a given device is set back in time, such that it corresponds better to its actual recording time.

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

The effect of the latency-correction is illustrated in the figure above. The figure shows the same data-stream *before* (top) and *after* (bottom) the latency-correction has been applied. The data remains the same, however, the data-stream is placed earlier in time to better correspond to the actual recording time.

## Changing the latency of sensors per respondent

In cases where researchers observe a lag that fluctuates for each participant, they can correct it (from version 9.3.23 on) by using the latency settings per respondent. To do this, select the respondent and then latency settings.

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

Here, you can add the value, in milliseconds, of the lag observed.

In the example below, live markers were used to estimate the lag between the eye-tracking data, where the scene camera could see when a key was pressed, and iMotions recording the key press. This difference was found to be 1110ms which could then be corrected in the latency settings.

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

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

![image (3)(2)](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-714966d30fcb5c77d9f91f9b2590c165c5ab64d0%2Fc4cdd233ee_image--3-2-.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/imotions-setup/latency-settings.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.
