Table of Contents

Acquiring Digital Codes

It is critical that we acquire stimulus-locked digital codes so that we can bin the data according to stimulus type during analysis. This is also essential for creating event-related averages of psychophysiological data (e.g. creating ERPs from EEG data) as it gives us the precise onset time of each stimulus. Below is a description of the hardware, software, and steps necessary for sending and acquiring such codes with PsychoPy and the BioSemi ActiveTwo system.

Hardware

  1. USB from stimulus presentation computer
  2. 8-bit digital output from I/O lines FIO0-FIO7.
    1. A separate wire connects each line to the breakout board.
  3. Wires are connected to screw terminals on the breakout board. Each terminal is connected to a single pin of the female DB-37 connector.
    1. FIO0-FIO7 should be wired to terminals 1-8 of the breakout board.
    2. The ground should be wired to terminals 9-16 and terminal 37 of the breakout board.
  4. A 37-pin ribbon cable connects the breakout board to the ActiveTwo USB receiver.

Software

See here for information regarding sending event codes from PsychoPy.