psychopy.org | Reference | Downloads | Github

Tobii x3 120 tracker stroop task

Hello,

Using Win 10
Psychopy (latest) 1.85.3
Tobii SDK 1.0.1
Using Builder, minimal coding skills
Python 2.7 only, no other versions

Im following the ECEM 2013 manual for an Eyetracker test using Tobiipro x3 120.
Both - for my experiment and the demo stroop task - i can run the exp. with all details on the hdf5 file, except for the eye tracker which doesnt communicate. I get the following error. Please help or point me towards what i need to do.

ImportError(‘No module named tobii.eye_tracking_io’,)
[’ File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\iohub\devices\eyetracker\hw\tobii\tobiiclasses.py”, line 39, in \n import tobii.eye_tracking_io as TobiiPy\n’]
Error importing TobiiPsychopyCalibrationGraphics
<type ‘exceptions.ImportError’>
ImportError(‘cannot import name Point2D’,)
[’ File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\iohub\devices\eyetracker\hw\tobii\eyetracker.py”, line 22, in \n from tobiiCalibrationGraphics import TobiiPsychopyCalibrationGraphics\n’,
’ File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\iohub\devices\eyetracker\hw\tobii\tobiiCalibrationGraphics.py”, line 24, in \n from . tobiiclasses import Point2D\n’]

Regards,
Nannu

To such of those designing on Tobii x3 120, Sogo-san’s script works incredibly well. Get it here
–> https://github.com/hsogo/psychopy_tobii_controller

U will need access of Preferences dialog on builder. If using a Japanese Win 10 or German Win 10 on 1.85.3, will throw out a unicode error.
Fix it from here --> https://github.com/psychopy/psychopy/tree/master/psychopy/sound

It should serve a good starting point.
Tobii couldn’t care less when i asked them for the older SDK 3.0 and ECEM 2013 tutorial uses the older version, hence Sogo script.

Cheers,
Nannu

1 Like