> 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/sensor-setup/eeg/abm/abm-running-a-b-alert-benchmark-task.md).

# ABM: Running a B-Alert Benchmark Task

Run the 9-minute ABM B-Alert benchmark in iMotions Lab so Engagement, Distraction, Drowsiness and Workload metrics can be computed for a respondent.

If you would like to collect the ABM metrics "High Engagement", "Low Engagement", "Distraction", "Drowsiness" and "Workload", you have to run the ABM benchmark prior to data collection.

{% hint style="warning" %}
**Note**

You have to execute the impedance check at least once in order to enable the baseline options. Otherwise, the benchmark options will all be grayed out and inaccessible.
{% endhint %}

1. Select a respondent.
2. After checking the impedance, click on the B button on the right side of the EEG widget to start the 9-minute benchmark task
3. This will initiate the B-Alert live benchmark in a standalone Java application, displayed in a separate window. Follow the instructions on screen.
4. You can run the benchmark on the subject screen (as opposed to the experimenter screen) if you have a dual screen setup as long as the two screens are set to the same resolution. While the benchmark task is running, the iMotions interface will display that the ABM benchmark is in progress.
5. Once the benchmark task is complete, the benchmark will close, and iMotions will show a report of how the respondent performed. This report will be saved in the respondent's Benchmark folder.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong></p><p>For iMotions version 6.3 and earlier, press F11 to exit the benchmark and return to iMotions. No report will be provided.</p></div>
6. Once this is done, the benchmark will be automatically loaded to the subject - a blue halo will appear on the image of the head on the EEG widget. Note that after the subject finishes the benchmark task it will be local to the respondent you have chosen. Therefore, if a respondent has previously had a baseline recorded, iMotions will warn you if you try to overwrite this baseline, by trying to create a new one.

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

{% hint style="warning" %}
**Note**

Make sure that respondents have access to a keyboard as they have to press "RIGHT ARROW", "LEFT ARROW" and "SPACE" keys. Also, make sure to have speakers active - the ABM benchmark provides visual and auditory cues.
{% endhint %}

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

**The benchmark has the following subtasks:**

TASK 1: Oddball paradigm. Respondents have to press the "RIGHT ARROW" key if there's a triangle pointing upward shown on screen. If there's any other object (triangle pointing down or a diamond), respondents press the "LEFT ARROW" key.

TASK 2: Visual attention paradigm. Here, circles are presented in 2-second intervals. Respondents have to press "SPACE" at the same time as the circles appear.

TASK 3: Auditory attention paradigm. Here, respondents have to close their eyes. Sound cues are presented in 2 second intervals. Respondents have to press "SPACE" at the same time as the auditory cues are presented.

1. At the end of the benchmark procedure, the benchmark procedure will close automatically and return to iMotions. If you have iMotions 6.3 or earlier, press F11 to exit the benchmark.

**NOTE:** In case of issues there are several keyboard shortcuts for the ABM benchmark to be used by the technician/operator:

* F11: Ends the benchmark task. For use by the operator/technician.
* Ctrl+Alt+Q (Quit): Quit the session. For use by the technician.
* Ctrl+Alt+R (Restart): Restart the current task. For use by the technician.
* Ctrl+Alt+P (Pause): Pause the current task. It is not recommended to pause the task.
* Ctrl+Alt+C (Continue): Resume after Pause.
* Ctrl+Alt+J (Jump): Skip the current task.
* Ctrl+Alt+V (Review): Review previous instructions before the commencement of the task.

The function Key F11 is used in the following situations:

* To get out of a "Technician Requested" window
* If a subtask is terminated due to a lack of response (missing key presses)

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

You can also run the B-Alert benchmark in B-Alert Live. However, this requires a license for B-Alert Live.

**TROUBLESHOOTING:**

If after completing the respondent benchmark task you get an error message stating that the data cannot be saved because of a failure in creating the .def file, the benchmark has to be repeated.

This particular error message is shown if the respondent produced too many artifacts during the benchmark session (muscular or swaying etc., or high impedances in general). In this case, the decontamination procedure is exceeding the allowed threshold, leaving too little data left for generating the transformation matrix from raw EEG data to EEG metrics.

To resolve the issue, please:

1. repeat the electrode impedance check and make sure that all electrodes are "green".
2. instruct the respondent to really attend to the stimuli (button presses).
3. also, instruct respondents to sit relaxed and with all facial and neck muscles unstrained.

With these optimal recording conditions, the benchmark should run through without issues.


---

# 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/sensor-setup/eeg/abm/abm-running-a-b-alert-benchmark-task.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.
