Installation¶
- Download and place the pylinkwrapper folder somewhere you can easily reach in the file system.
- Add the folder to Psychopy’s python path as detailed here: http://www.psychopy.org/recipes/addCustomModules.html
- Update pylink to the latest version provided by the SR Research development kit. It should be installed on the display computer.
That’s it! Here’s a quick demo of getting connected to the Eyelink:
import pylinkwrapper
win = visual.window(monitor='nickMon', fullScr=True, allowGUI=False, color=-1)
tracker = pylinkwrapper.connect(win, '1_nd')
Check out the documentation for the Connector Class class to see what functions are available.