The SETUP: Step by Step

by Dr. Tonny Mulder


Click the pictures to go to the location of your choice


Identifying setup components

Scan the picture to identify essential components

Setup Overview

AND?.... DO YOU?

GREAT!... You can start building the setup!
OEPS!... Contact the student assistent!

Connect all components

Connect the mobilab

Now build your setup as pictured above. Please take care that the plugs are connected in the correct way.

The small red dot on each plug should be at the bottom (See picture on the right). Don't apply force to connect, this will damage the fragile pins inside. It should slide in with ease.

Connect the Digital I/O

Use the connection layout below. Tigthen the cables and remember: "Vast is Vast".

BEWARE: Connect with care!

Make sure the red dots are facing downward bluetooth

The layout of the MobiLab connections


Using the DIO-box

NOTE: The drivers are already installed on the 'onderwijslaptops'.

F⚡☠k IT: I want to use my own laptop in the EEG setup

Okee, Then first install the NIDAQ drivers

Before you start connecting the DIO box, it is essential that you install the NIDAQ core drivers on the laptop that controls the DIO Box. For now only windows laptops can be used

Installation procedure: 

1. Unplug the DIO-box USB

2. Download the NIDAQ installer from CANVAS (EEG: software: NIDAQ core drivers) and run it on your laptop.

3. Follow the instructions. It can take some time to finish, be patient!

4. Restart after it finishes.

5. Plug in the USB of the DIO-box, when installation is completed, the green light will flash

NOW Connect the Digital IO-box

DIO-box: overview of connections.

dio dio

Marker Table

The Stimulus Presenter software enables you to trigger the DIO-Box and send markers to the EEG-recorder allowing you to synchronize behavioral events with your physiological data.

Use the Table below to make the connections.

Trigger Channel CABLE #10-22 Marker Channel
DIO-box COLOR EEG_Recorder
P0.0 (17) light pink 1
P0.1 (18) brown 2
P0.2 (19) green 3
P0.3 (20) yellow 4
P0.4 (21) grey 5
P0.5 (22) pink 6
GND (25) purple

Don't forget to connect GROUND: the purple wire to one of the GND ports on the DIO-box

Example of connections from Stimulus PC to Recording PC


Placing Electrodes


Click figure to enlarge

Search the literature before you select electrode locations.

You will have to decide where you want to measure. With two electrodes available to you and an optional extra six available, you can't record all areas. So seelct your recording locations wisely.

For a reference, select literature that studied effects in a similar setting than yours and see where they placed the electrodes, or on which electrodes they found the strongest effect.

Be very precise on what kind of effect you are looking for: using visual stimuli does not necessarily mean the effect will be found over the visual cortex. For example, if you use words or pictures with different meanings in different context the effect will more likely take place over the temporal cortex. Also auditory ERPs are best recorded on PZ and are less effectively recorded on lateral positions.

Spread your electrodes

The best signal is not only picked up right over the brain area where it is generated, but as it passed through the skull and scalp it is smeared out. The result of this is that EEG has low spatial selectivity (meaning it is hard to determine where exactly the measured signal comes from). On the upside, this also means that even if you place an electrode next to where the maximum effect actually is, you will still pick it up. Consequently, placing two electrodes right next to each other does not give you much more information.


Fitting the CAP


Select the cap size that fits your subject. 

The red cap has a medium fit and fits most people. The blue cap is the largest, and the green cap is the smallest. The cap should be tight enough so the electrodes are close to the scalp but still comfortable for the subject to wear. Let the subject put on the cap.

Orienting the cap

Measure the head size of the subject from nasion to inion, and from the left tip of the ear to the tip of the right ear. The location of the Cz electrode should be in the center of these measures. Move the cap around if necessary and make sure it fits tight and symmetrical.

Let the subject place the chin band.

Now you are ready to gel the electrodes.

gelling gellingref

Gelling the electrodes

1: Fill the curved syringe with electrode gel.

2: Place the tip of the syringe through the electrode on the skull. Ask the subject whether he/she feels the tip.

3: Apply the gel while retracting the syringe.

3: Apply the gel while retracting the syringe.

4: The reference electrode (blue clip) is gelled by appying a drop of gel on the metal electrode disk and place it on one of the ear lobes.

THE EEG_recorder Software

EEG_Recorder Software

The EEG Recorder software is already downloaded and available on your EEG_Recorder laptop.

Download EEG_Recorder here. in order to use the analysis tools on your own laptop. Click on The green Clone or Download Botton on the Github page and download the ZIP file and UNZIP!

EEG_recorder contains the following main functions:

Record EEG

Generate a live view of EEG in time domain and frequency domain

Saves EEG to RAM and hard disk

Analyze EEG data using several toolboxes


Record EEG


Start recording EEG:

1. Set the total duration of recording (s)

2. Press CLEAR to reset the EEG_recorder and load new settings

3. Press START

4. Wait until the EEG recording starts, this may take some time

5. After set duration or after pressing the STOP button, the experiment finishes and all recorded data is pushed to the screen. Be patient, this may take some time but it will happen!

6. Save the data for further analysis in a folder of your liking. We recommend to uses the data folder

Stop EEG button: 

- Stops recording and pushes all recorded data to the screen

- Stops analogue input

- Keeps data in RAM

- Now you can save the file

- Keeps figure as it was when stop was pressed

Clear button:

- Stops recording

- Stops analogue input

- Clears analogue input object from memory

- Clears all data from memory

- Clears figures

Save and Load


Save recorded EEG:

Data are only recorded to RAM (and optional to SD). To save data to disc use the save function.SAVE first, Discuss later! You can save to a location of your liking.

Load saved EEG:

EEG recorder can also be used to view recorded data. Note that the entire recording is plotted. So, In contrast to live view, the frequency plot on the right side of the screen is also generated using the entire signal.

Adjust LIVE view

The settings in this panel are for display purposes only, to accomodate inspection of the data during recording. They will NOT effect the recorded and saved data.

All these settings can be changed during the recording, it will NOT effect the recorded and saved data.

live View

Preview sample length

The number of samples that are plotted in the time domain window.

256 samples displays 1 second. (Default = 1024 samples: 4 seconds of data.)

FFT sample length

The number of samples that is used to generate the FFT (Fast Fourier Transformation) and plot the signal in the frequency domain. (Default = 1024 samples)

Note: The FFT sample length should always be smaller or equal to the preview sample length.

Channel spacer

This number determines the distance between the plotted channnels. Smaller number = bigger signal amplitude. (Default = 10)

FFT frequency range

Set the range of frequencies that are plotted live in the powerspectrum window. (Default = 0.1 to 128 Hz). 

Channel selector

Regardless of the selection: ALL channels will be recorded and saved.

Here, only channels 1 - 6 are visible in the window, whereas all channels are recorded and saved

channel selector

Marker (DIO) selector

ONLY the selected Marker channels will be recorded and saved

In this case, DIO channels 1 & 2. DIO Channels 3-6 are Lost. It is recommended to select all marker channels!

dio selector

I just want to trouble shoot my Recording

Go to the demo-experiment