Wiki
Clone wikiStimServer / HowToSetup
How to get the toolbox running
Prerequisites
- Make sure you have the matlab Instrument control toolbox or PNET for low-level network access.
- Install the Psychtoolbox.
Installation
- Use a GIT client to check out the latest toolbox revision from https://bitbucket.org/DylanMuir/stimserver/overview, or download a tagged release from https://bitbucket.org/DylanMuir/stimserver/downloads#tag-downloads.
Configuring your setup
- CalibrateDisplay will be helpful. Most functions take a "fPixelsPerDegree" calibration parameter.
- If you want to use the "server" part of the toolbox, you will need to have a system that can send commands over a UDP channel. You can also use matlab for that, using the Instrument Control toolbox.
- Use "CreateStimulusStructure" to build a list of available stimuli.
- See building stimuli
- See the communications protocol for the stimulus server
Start the stimulus server
- "StartStimulusServer" will start the server listening on a UDP port.
- Send UDP commands to begin the display of a stimulus (see the communications protocol for the stimulus server)
Updated