> 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/data-collection/sensor-preview-window.md).

# Sensor Preview Window

Monitor sensors with the sensor widgets and use the Sensor Preview window to check signal quality, follow Live Markers and manage the stimulus queue.

*The iMotions Sensor Widgets and Sensor Preview window can be used to monitor sensor connections and recordings during data collection, and to test the signal quality before starting a recording.*

## Sensor Widgets

*Sensor Widgets are shown along the bottom of the main iMotions UI for each recording device that is connected and enabled in iMotions.*

Each sensor widget indicates the device connection status and other device-specific information. For example, camera widgets will show video feeds and eye tracker widgets show when eyes are detected and information/warnings about distance from the eyes to the tracker. To inspect the signal from other sensors, open the Sensor Preview.

![The main window with the eye tracker, Events API and Demo sensor widgets along the bottom and the Sensor Preview button marked](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-86255a9e658b44bf3c5a589e03af3ce3f5e3722d%2Flab_library_study-settings_sensor-widgets.png?alt=media)

## Sensor Preview Window

*The Sensor Preview visualizes the data coming from the connected sensors before and during data collection.*

iMotions recommends that you always open the Sensor Preview before starting a data collection to ensure that the signal is of good quality. Visual inspection of the signal allows you to detect artifacts due to loose electrodes, electrical noise, or incorrect electrode placement. If you observe any artifacts, make sure to troubleshoot their cause before starting the data collection. The Sensor Preview has an **inbuilt feature to review signal quality** (see below) that helps you learn about typical artifacts and how to solve them.

![noisy\_data\_2.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-efd3ac788f0004c3f6e5c320b9d39e5779fd00f7%2Fa224d8a54b_noisy_data_2.webp?alt=media) ![Clean\_2.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-27447006757470df105e39cc2180010e173854bb%2F65e0afc53a_clean_2.webp?alt=media)

During an ongoing data collection, you can also open the Sensor Data Preview to monitor the task that the respondent is executing, see a live visualization of their gaze on the stimulus (if you are using eye tracking), and keep an eye on the collected signals. This helps you to identify a decrease in data quality during the experiment, but can also be used to follow the reactions of the respondent in real-time.

Please note that this option is only available when running the experiment on a dual-screen setup with a respondent screen and an experimenter screen. If this is the case, you will be able to open the Sensor Data Preview on the experimenter's screen as soon as the recording has started.

![The main window during a recording with the Open Sensor Preview button marked](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0b99feeec0cc866a47ff33380a02adef856e857b%2Flab_recording_open-sensor-preview-button.png?alt=media)

## Sensor Preview menus

![The Sensor Preview before a recording, with the menu on the left, the sensor widgets at the top and the signals area below](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-c1f4e891e5ac803a9a72cdb7a067289a54b6be81%2Flab_recording_sensor-preview_overview.png?alt=media)

During Sensor Data Preview, you are presented with the following information:

* At the top, whether the data is currently being recorded (during data collection) or not (if previewing before actually starting the recording), and during a recording the time since the experiment started
* On the left, the menu options to customize the Sensor Data Preview, described below
* During a recording, buttons to manually advance to the next stimulus (unless it has a fixed duration) or to end the recording before all the stimuli have been shown. If the data collection is aborted, the data will still be saved to avoid unintended data loss.
* During a recording, a preview of the current stimulus with overlayed gaze (if eye tracker is used)
* A preview of the selected sensor widgets
* A preview of the selected signals

### Interface options

On the left side of the User Interface (UI), you find the menu option for "Interface options".

![The Interface options button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e7c3886336015e00c9f6fa22f1b9aea526204242%2Flab_recording_sensor-preview_icon-interface-options.png?alt=media)

![The Interface options panel with the panels to show and the layout buttons marked](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e40aa46819d70ef28e6bd88d72dcc3bd8071c314%2Flab_recording_sensor-preview_interface-options.png?alt=media)

In this menu, you can modify the general layout of the Sensor Data Preview UI:

1. Under "Panels", you can choose to
   * turn the stimulus preview on or off,
   * turn the signal preview on or off,
   * turn the LiveMarker preview on or off,
   * select which sensor widgets you wish to see in the UI.
2. Under "Layout", you can choose different arrangements of the panels. You have the option to grab individual panels by clicking on the ![mceclip7.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-70b666cebc329730aef25353c5c9d7dc2a377ade%2Fb3ec461c18_7nhq0g54eugixp61m4inamceclip7.png?alt=media)symbol with the mouse and manually swap their position. You can also resize the panels by dragging their borders.

![The first layout, with the sensor widgets on top and the signals below](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-fb5013885f31e0ec05453157e57bfb7fc5522d6e%2Flab_recording_sensor-preview_interface-options_layout-1.png?alt=media)

![The third layout, with the signals on the left and the sensor widgets on the right](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-8596cc3017afc538317b4dc80017c916df1d7105%2Flab_recording_sensor-preview_interface-options_layout-3.png?alt=media)

### Visualization options

The **Visualization** button on the left side of the Sensor Preview sets how the signal graphs are drawn.

![The Visualization button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-aefb33ca21452c94777ac7b50eb6332dab551aee%2Flab_recording_sensor-preview_icon-visualization.png?alt=media)

![The Visualization panel with Window duration and Reduce CPU usage](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-89a5c46a7b72870936808c2b01383de869b27197%2Flab_recording_sensor-preview_visualization.png?alt=media)

| Setting                 | Description                                                                                                                                                                                                                 | Values     | Default |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------- |
| **Window duration (s)** | How many seconds of data the graphs show before the data scrolls out of view. With 15, the graphs show the last 15 seconds. Set it with the slider, which changes in finer steps at short durations, or type it in the box. | 1 to 240 s | 10 s    |
| **Reduce CPU usage**    | Updates the graphs 15 times per second instead of 60 and draws fewer points, keeping each signal's peaks. Use it on slower computers or when you record many sensors or sensors with a high sampling rate.                  | On or off  | Off     |

The Sensor Preview moves the samples of each sensor back in time by the sensor's default latency, so that signals from different sensors line up. For the default latencies, see [Latency settings](https://help.imotions.com/lab/study-setup-and-design/imotions-setup/latency-settings.md). Latencies that you change for a study or a respondent are applied to the recorded data, not to the Sensor Preview.

### Signals

On the left side of the UI, you find the menu option for "Signals".

![The Signals button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-2f04168f3e3a84c1eef027ed3e50597a8e312b58%2Flab_recording_sensor-preview_icon-signals.png?alt=media)

![The Signals panel with the sensors' signal groups and two Demo signals shown as charts](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-2b96ac2bc08a138127d64ad7b9b7484b32104091%2Flab_recording_sensor-preview_signals.png?alt=media)

Here, you can select which signals you wish to see in the Sensor Data Preview. You can also change the color, filling, and range of the graphs, and arrange them in the order you wish.

#### Review signal quality

When previewing the signals before data collection, you can perform a signal quality test. By either clicking on *"Review signal quality"* and then selecting the signal from the dropdown, or clicking the *"TEST"* button next to the device name right away, you can start the test.

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

A pop-up window will appear, guiding you through the test. As an experimenter, you need to read the instructions out loud to the respondent. The test always lasts for 15 seconds and will record data from the selected sensor.

After the test is completed, you can review the recorded data. Under the signal, you can see one example of a good recording for this signal. You are also presented with a handful of examples of typical artifacts for this kind of signal.

Expand the example and compare if your data looks similar to the good data example, or if you can identify artifacts.

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

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

If you spot an artifact, read the troubleshooting recommendation. Also visit the Help Center article to get more information on the recommended sensor application.

Change your setup or re-apply the electrodes and review the signal quality again before starting the recording.

### Live Markers

On the left side of the UI, you find the menu option for "Live Markers".

![The Live Markers button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-10408c40f7c23d3208038ecc344715687931dc99%2Flab_recording_sensor-preview_icon-live-markers.png?alt=media)

![The Live markers panel of the Sensor Preview](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d6c5e3c78adf59023a3c26723e28a25799b13efd%2Flab_recording_sensor-preview_live-markers.png?alt=media)

Here, you can see an overview of the available [Live Markers](https://help.imotions.com/lab/data-collection/creating-live-markers-during-data-collection.md), i.e. the key combinations that you defined during study setup. You also see an overview of when in time you set a Live Marker as well as a total count of all Live Markers that you set during the current recording. If your study contains other Marker events, e.g. API Markers, they will also be shown in this UI.

You can disable specific Live Markers or entire groups if you do not wish to see the Live Markers. You can also disable the vertical line so that you only see the triangle marker on the timeline. If you do not wish to see any information about Live Markers, you can disable the Live Marker panel under "[Interface Options](#interface-options)".

### Stimuli queue

During the data collection, you can find the menu option for the "Stimuli queue" on the left side.

![The Stimuli Queue button](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-88f67d15b5e9aa5839570f7bb3abd1ca2b43080a%2Flab_recording_sensor-preview_icon-stimuli-queue.png?alt=media)

![The Stimuli Queue panel during a recording with the keyboard shortcuts and the current stimulus](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e6032319dbf47393d0dee46ab060ba7f0a0f3f6d%2Flab_recording_sensor-preview_stimuli-queue.png?alt=media)

Here, you can see

* Keyboard shortcuts to cancel the data recording or to advance to the next stimulus as you have defined in Global Settings
* An overview of the progress in the current experiment:

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

* The UI will show you the list of completed stimuli, i.e. those stimuli that have already been shown to the respondent and for which data was collected. You can expand or collapse the list by clicking on the small triangle.

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

* The currently presented stimulus will be indicated with a red record symbol as well as a countdown showing the time left for the current stimulus

![A stimulus under Preparing stimulus in the Stimuli Queue](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e765990512f6b03d44e01aa28018b276db25824c%2Flab_recording_sensor-preview_stimuli-queue_preparing.png?alt=media)

* A couple of seconds before the next stimulus starts, it will also be shown as being in preparation

![Queued Stimulus in the Stimuli Queue with the hint that stimuli can be dragged to reorder them](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-40e69d6589492ef6fd949fc7c1f179927a6cbb5c%2Flab_recording_sensor-preview_stimuli-queue_reorder-enabled.png?alt=media)

* The list of stimuli that will be shown next is displayed under "Queued Stimulus".

#### Manual rearrangement of stimuli

For certain types of experiments, you have the option to manually rearrange the stimulus queue to decide which stimulus will be the next one to display to the respondent. You can do this by grabbing the stimulus by the ![mceclip7.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-70b666cebc329730aef25353c5c9d7dc2a377ade%2Fb3ec461c18_7nhq0g54eugixp61m4inamceclip7.png?alt=media)icon and dragging it up or down in the list of upcoming stimuli. The stimuli are then presented in the displayed order.

It is possible to rearrange stimuli if you are running an experiment without blocks and with a randomized order of stimulus presentation.


---

# 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/data-collection/sensor-preview-window.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.
