> 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/other-tools/how-to-connect-and-configure-the-cedrus-response-pads.md).

# How To: Connect and configure the Cedrus Response Pads

Record Cedrus Response Pad button presses as marker events in iMotions Lab using the responsepadserver application and the event API.

*This article describes the use of Cedrus Response Pads in psychological studies with iMotions.*

iMotions integrates the Cedrus Response Pads as an alternative input method. Cedrus Response Pads (USB) record button presses as live marker events.

[http://cedrus.com/responsepads/rb\_series.htm](http://cedrus.com/rb_series/)

**You need to run an application that talks to the Response pad and converts the keyboard presses into API events sent to iMotions.**

![The Incoming Events API widget showing a ResponsePad event](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7a0b2f6bd712060b6dea0b135fc35f2e875682ee%2Flab_recording_sensor-widgets_incoming-events-responsepad.png?alt=media)

**Requirements:**

* Windows 64-bit OS
* **Cedrus Response Pad (USB edition)**

**Installation:**

1. Download the application `responsepadserver.zip` from the [partner files on my.imotions.com](https://my.imotions.com/#downloads/partners) under **Cedrus** (sign in with your iMotions account), and extract it on the computer that runs iMotions and the device.
2. Start iMotions
3. Go to "Preferences" > "Global Settings", tab "API". Enable "API event reception".

   ![The API tab of Global Settings with Enable event reception selected and its port](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-22b774c63facbb2059b600b4e832977622e78d41%2Flab_global-settings_api_event-reception.png?alt=media)
4. Find the COM port used by the response pad: Connect the Response Pad to your computer and locate the serial port (used by the Response Pad) under the device manager (control panel).

   If there are many COM ports already in the list, it could be a good idea to have the list open before connecting the device and then observe which COM port is added (when connected).

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-6413419f95f8ad3e419fa5de51b9058bedf91c2e%2F86c89f1fb5_u9qdxjeznkyzu0a5jvahta.webp?alt=media)
5. **Launch the responsepadserver application.** Open a command line prompt and change the directory to where you extracted the contents of the responsepadserver archive.

   The responsepadserver.exe is the application that handles the communication with the responsepad and generates corresponding marker events in iMotions.

   Make sure the Response Pad is connected to the computer before starting the response pad server application, e.g (if the device is connected to COM8)

   responsepadserver -com=COM8

   ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-54928666d890b16ee4759df333411bf166404e23%2F74f6f3c847_npzysuno8ee4uiohvnez2g.webp?alt=media)
6. By default, the application will spend some seconds determining the latency between the device and the computer (if the application does not continue at this point, then most likely the Response Pad is connected to the wrong port).
7. Remember to leave the application running.

**Usage of responsepadserver.exe:**

-com string | COM port (default "COM8")

-filterkeyup | Filter out key-up events (default true)

-ip string | iMotions IP (default "localhost")

-logmessages | Log messages send to iMotions

-poll int | Poll interval ms (default 1)

-port string | iMotions port number (default "8089")

-profile | Profile COM port latency (default true)

-resettimer | Reset responsepad timer (default true)

-uniquemarkernames | Make marker names unique for each key

If everything is set up correctly - you should be able to see ResponsePad events (when a button is pressed) displayed as marker notifications:

![The Incoming Events API widget showing a ResponsePad event](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7a0b2f6bd712060b6dea0b135fc35f2e875682ee%2Flab_recording_sensor-widgets_incoming-events-responsepad.png?alt=media)

Once data has been recorded in a study, you can view the recorded ResponsePad events in the sensor data export file:

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f5b74eb60d2b19638750144504178c344b8174c2%2F2d2172f4b8_wp8lqzk2z0aj4knvitl8vg.webp?alt=media) Properties associated with the marker are portnumber, actionflag, button code and timer.

Actionflag indicates key down (0) or key up(1) and buttoncode represents which button was pressed. The timer is the internal clock running on the responsepad box, this can normally be ignored as you should refer to the iMotions Timestamp (synced with the other sensor data).

Default key-up is filtered out, if you are interested in key up events, then launch the application with the -filterkeyup=false switch.

For readability when viewing the Marker events in iMotions, you can enable the switch --uniquemarkernames=true which will provide a unique marker name for each key.


---

# 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/other-tools/how-to-connect-and-configure-the-cedrus-response-pads.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.
