Skip to content

Setting Up

Guy Hyman edited this page Sep 1, 2022 · 2 revisions

1. Components:

  • Photodiode
  • Screen for stimulation
  • DMD Projector or a second screen
  • LPT parallel port card
  • PC with a good GPU
  • standard PC station peripherals

2. Software

  • MATLAB (see this page for version considerations)

  • Mex-File Utility for Fast MATLAB Port I_O (64-bit)

  • Psychtoolbox

  • Gstreamer (1,2 – 1.14.4 installed)

  • MATLAB GUI ToolBox

3. PC Specific Configurations

The PCSpecificFiles folder holds two configuration files that need you attention when setting up:

  • VSConfig: This is used to change basic parameters like the parallel port number.
  • GUIConfig: This is used to change the parameters like Screen identities.

Both are json files, so properties should be written in the following format:

{"PROPERTY1_NAME":VALUE,"PROPERTY2_NAME":VALUE}

  • Important initial properties you'd want to set are
    VSConfig:
    {"parallelPortNum":888,"syncSquareSizePix":60,"syncSquareLuminosity":255,"pixelConversionFactor":7.6923,"displaySyncSignal":[true],"sendMail":[true]}
    GUIConfig:
    {"VS.par.currentGUIScreen":1,"VS.par.currentPTBScreen":2}

Note: the values shown are copied from an existing setup. These serve as examples, not recommendations. You need to check which values best fit your experimental setup.

Clone this wiki locally