> 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-setting-abm-esu-and-the-cedrus-stimtracker-st-100-for-eeg-erp-studies.md).

# Slide Show Setting: ABM ESU and the Cedrus StimTracker ST-100 for EEG / ERP studies

Set up an ABM B-Alert headset, External Sync Unit and Cedrus StimTracker ST-100 to time-lock EEG to stimulus onsets for ERP studies in iMotions Lab.

*This guide describes in detail how to set up an ABM headset with a Cedrus StimTracker.*

## 1. Introduction

If you would like to collect time-locked EEG data - so-called Event-Related Potentials - in iMotions, the following hardware is required (available via iMotions):

* Advanced Brain Monitoring B-Alert [X10 or X24](http://www.advancedbrainmonitoring.com/xseries/)
* Advanced Brain Monitoring External Sync Unit (ESU)
* [Cedrus StimTracker ST-100 (or also called First Generation).](https://cedrus.com/support/stimtracker_1g/tn1406_using_st.htm) If you have instead a [Cedrus StimTracker Duo or Quad](https://cedrus.com/stimtracker/family.htm), please go to this article [here](https://help.imotions.com/lab/study-setup-and-design/stimuli/advanced-stimulus-markers/api-setting-receiving-marker-events-from-cedrus-stimtracker-duo-quad.md).

ERP studies require accurate timing of the stimulus presentation on screen as well as sampling rates. Using the ABM EEG systems in combination with the Cedrus StimTracker you can synchronize the obtained data with information on when a specific stimulus was rendered on screen, allowing for precise alignment and analysis.

## 2. Hardware Setup

1. Turn on the Cedrus StimTracker ST-100.
2. Connect the photodiode jack to the port called **Photocells 1** on the back of the StimTracker ST-100. Place the Photodiode on the respondent screen (bottom/top right/left). The StimTracker includes several double-sided adhesive mounts that allow the photodiode to be stuck to the screen without occluding light transmission. Note that the on-screen overlay box is small, approximately 1.5 x 1.5cm square and flush with the corner of the screen, so the photodiode must be placed very close to the edges. Plug it into one of the "Photocells" sockets on the back of the Cedrus StimTracker.
3. On the front of the StimTracker ST-100 (First Generation), press the button "**Set Threshold**" until the blue Photocell LED lights up and adjust the threshold using the knob to the right of the digital display. The necessary threshold will depend on the brightness setting of your monitor. We recommend starting with a threshold of 75 and running a pilot test later to verify that there is sufficient contrast to activate the photodiode.
4. Connect the StimTracker with the ABM ESU using a parallel port (Cedrus ST-100 StimTracker) or an m-pod with the right end port (Cedrus Duo and Quad StimTrackers).
5. Connect the ABM ESU with the iMotions computer using the ESU micro-USB cable.
6. Turn on the ABM B-Alert X10 or X24 headset. Ensure that the iMotions program is not running, then pair the headset with the ESU as [described in this article](https://help.imotions.com/lab/sensor-setup/eeg/abm/abm-pairing-the-usb-dongle-or-esu-with-amplifier.md). Note that if you are using the ABM headset (black housing), you must plug the headset into the computer.

   7\. In iMotions 10 you will need to set your study design by selecting your study type and then selecting your sensors to include in this case the API and B-alert functions. Add a new study to your library and select the study type such as screen-based or Glasses. Then configure the sensors below before adding it to your library.

   ![The study wizard's sensors with External Events API, B-Alert and the respondent camera with AFFDEX selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-31e7f7fe8115e9c659e235dbe34687251aad5d13%2Flab_study-wizard_sensors_api-b-alert-affdex.png?alt=media)
7. After that, in iMotions go to **Preferences > Global Settings** and open the **Sensors** tab. In the **B-Alert** section, select the ABM system you have under **Select Device** and select **Enable data collection**. As a result of that, the EEG device will be displayed in the iMotions Widget Bar on the lower part of the screen. When running data collection, a small box will indicate the current state of the Photodiode (bright, dark).

   ![The B-Alert section on the Sensors tab of Global Settings, with Select Device and Enable data collection](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-1afe90d018757c099af5386002aa7a4c7aaa3ef1%2Flab_global-settings_sensors_b-alert.png?alt=media)
8. If the small box doesn't appear during data collection, the ESU has to be configured to its default settings in B-Alert Live. Close iMotions, then in B-Alert Live, click the "Operations" tab and select "Configure ESU." Set "Parallel Port = 4 (E-PRIME)". More information can be found in the B-Alert Live Software User Manual, pages 56 - 59.

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

## 3. iMotions Global Settings

In iMotions, click **Preferences > Global Settings**, and open the tab **Slide Show**. In the section **Slide Show Settings**, select the check-box **StimTracker overlay** and specify the location of the overlay corresponding to the sensor placement above.

![The Slide Show tab of Global Settings with StimTracker overlay selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0100261bb1c943706088b38081dda9b8bf120378%2Flab_global-settings_slide-show_stimtracker-api.png?alt=media)

Then open the tab **API**, select **StimTracker Markers** at the bottom and click **OK**.

![The API tab of Global Settings with StimTracker Markers selected](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-0e3a1cb5cd71fd0e5de468cf5d53c5779a934a14%2Flab_global-settings_api_stimtracker-markers.png?alt=media)

## 4. Data Collection and StimTracker Markers

StimTracker events are visualized as markers in the Live Viewer as well as in the Gaze Replay. If events are missing or appearing in erroneous locations, you may need to adjust the photodiode threshold.

To observe the markers on the replay, click the Markers button located in the left panel. Once you have clicked there, click on the B-Alert events section and select **ABM Marker** as shown below.

![APImarkers\_on\_the\_replay.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-6d6ef781d248760e08be70328cda4ce68386bdb1%2Fa8f2e6d609_apimarkers_on_the_replay.webp?alt=media)

During data collection, a small overlay box will appear in the bottom right or top left corner of your screen, depending on how you have configured your Global Settings. This box will switch between black and white at the onset of every stimulus. The photodiode is placed to observe this switch. If the monitor brightness is not especially high, you may need to lower the threshold on the StimTracker unit, as described above.

## 5. Third-Party EEG Analysis Software (excerpt)

* [EEGLAB](http://sccn.ucsd.edu/eeglab/) (MATLAB toolbox developed at UC San Diego, CA, USA).
* [BrainVision Analyzer](http://www.brainproducts.com/downloads.php?kid=9) (Gilching, Germany).
* [Cartool](https://denisbrunet.github.io/Cartool/) (developed at the Functional Brain Mapping Laboratory, Geneve, Switzerland).
* [sLORETA](http://www.uzh.ch/keyinst/loreta.htm) (KEY Institute for Brain-Mind Research).

## 6. Reference Material

* Luck, S. (2014, 2nd edition). *An Introduction to the Event-Related Potential Technique*. Cambridge: The MIT Press.
* Handy, T. C. (2005). Event-related potentials: A methods handbook. Cambridge: MIT Press.
* Brandeis, D., Lehmann, D., Michel, C. M., & Mingrone, W. (1995). Mapping event-related brain potential microstates to sentence endings. *Brain Topogr*, *8*(2), 145–159.
* Michel, C. M., Murray, M. M., Lantz, G., Gonzalez, S., Spinelli, L., & Grave de Peralta, R. (2004). EEG source imaging. *Clinical Neurophysiology*, *115*(10), 2195–2222.

## 7. Considerations for ERP studies with the Emotiv EPOC

While for the **Emotiv EPOC** methods have been described how to connect a Photodiode with the electrodes to achieve an ABM-like setup, we **explicitly** do not recommend this procedure due to the risk of damaging the device. The attached conference poster and proceedings describe the difficulties of extracting ERPs from the Emotiv EPOC headset. Studies that recorded the EPOC at the same time as a research-grade EEG system have shown that some ERPs, such as late auditory ERPs at frontal sites, can be measured with it, usually with an adapted setup ([Badcock et al., 2013](https://doi.org/10.7717/peerj.38)). Pilot ERP studies with the EPOC carefully before you rely on the results.

Consumer EEG headsets with a small number of electrodes generally do not reach the signal quality of research-grade EEG systems, and many of them have no midline or central electrodes, such as Fz, Cz and Pz, where many ERP components such as the P300 are largest. Their strength lies in the analysis of frequency-based measures such as broadband power in limited frequency bands (theta, alpha, beta) where precise temporal information is not required.


---

# 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-setting-abm-esu-and-the-cedrus-stimtracker-st-100-for-eeg-erp-studies.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.
