The SETUP: Step by Step

by Dr. Tonny Mulder

THE SETUP

Click the pictures to go to the location of your choice

OVERVIEW OF THE SETUP

Identifying setup components

Hoover across 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 or rotate the plugs, this will damage the fragile pins inside. They 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

THE SETUP

Using the DIO-box

To send markers from the laptop running the experiment to the EEG recording laptop, a Digital Input output box is needed. In these experiments we will use the National Instruments digital I/O 6501

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

Only if you want to use your own laptop to control the experiment you need to install the necessary drivers on 'Your laptop'

To do so Click the button on the right

NOW Connect the Digital IO-box

DIO-box: overview of connections.

dio dio

Marker connections 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

dio
THE SETUP

Placing Electrodes

placement

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 , you can't record all areas. So select 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. Also you can use the electrodes on which 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 often measured at other locations than directly over the brain area where it is generated. As it passes     through the skull and scalp it can be 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.

THE SETUP

Fitting the CAP

gelling

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.

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.

For a detailed explanation on the function of the different electrodes please visit the

THE EEG_recorder Software

EEG_Recorder Software

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

Download the most recent version of EEG_Recorder from CANVAS

Start EEG_Recorder in MATLAB (32bits)

  1. Check if WIFI is available, on the recording Laptop.  This is necessary for MATLAB license verification.
  2. Start MATLAB (32bits)
  3. Make the content of the EEG_recorder folder, the current folder. See example on the right.

Switch on your Mobilab amplifier

  • This to be able to test your connections later
  • You can find your Mobilab amplifier in the picture above

START THE PROGRAM

  • by typing ‘eeg_recorder’ in the command window
  • by dragging eeg_recorder.m to the command window
  • Via the edit Mode. DANGER: ONLY USE THIS OPTION IF YOU REALLY WANT TO EDIT. Double clicking eeg_recorder.m and then clicking on the green ‘Run’‐button. This opens the eeg_recorder.m file in the editor.
folderlinks

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

eeg_recorder_main

Record EEG

start_stop

Start recording EEG:

  1. Check the total Time to record (s). Default is 3600 s (1 hour) after which the recording will automatically stop. Only  change this if the recording needs to be of a longer duration. For shorter recordings use the STOP EEG button.     
  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 EEG 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, wait for this to happen, it might take some time depending on the recording duration.
  • Stops analogue input
  • Keeps data in RAM
  • Now you can save the file

Clear button:

  • BEWARE: Pressing clear before saving the data results in data loss
  • Clears analogue input object from memory
  • Clears all data from memory
  • Clears figures
  • Loads adjusted settings into memory

Save and Load

save_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. If you do that here than the entire recording is plotted, including all 8 channels and the marker channels you selected. Also, In contrast to live view, the frequency plot on the right side of the screen is also generated using the entire recorded signal. It will be messy

If you want to visualize a single recorded channel, please select the DATA Plotter from the tools menu!

If you have the desire to replay and view the data as it was recorded, please select the REPLAY DATA option from the tools menu

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 = 1)

FFT frequency range

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

Channel and Marker selector

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

On the panel displayed on the right, only channels 1 - 4 are selected and are therefore visible during the recording, whereas all channels are recorded and saved

However, ONLY the selected Marker channels will be recorded and saved

In this case, No Marker (DIO) channels are selected. All Marker Channels are therefore Lost. By selecting marker channels, they become visible during the recording.

channel selector
THE SETUP

I just want to trouble shoot my Recording

Go to the demo-experiment

For 'Experimentatie Jaar 2 EEG practicum' visit the EEG Demonstration experiment as available on CANVAS

For all others: