# Iohub and eyelink100Plus: issue with \_setEyesToTrack

**URL:** <https://discourse.psychopy.org/t/iohub-and-eyelink100plus-issue-with--seteyestotrack/1344>\
**Category:** Coding\
**Created:** [October 25, 2016, 3:49pm UTC](https://discourse.psychopy.org/t/iohub-and-eyelink100plus-issue-with--seteyestotrack/1344 "2016-10-25T15:49:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![n\_m](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@n\_m](https://discourse.psychopy.org/u/n_m)\
**Post date:** [October 25, 2016, 3:49pm UTC](https://discourse.psychopy.org/t/iohub-and-eyelink100plus-issue-with--seteyestotrack/1344/1 "2016-10-25T15:49:07Z")

</div>

Dear all, I have two questions about iohub and eyetracking. I use Windows 10, Psychopy Standalone v1.82.01; SR Eyelink 1000 Plus (Tower, I track mouse, selecting right eye for the time being)(and if maters Pycharm as an Editor).  
I present stimuli, let the participants free-view the screen and when they are ready they push a key (it is based on a gc demo).  
There is one warning that I get:  
C:\PsychoPy2\python.exe C:/Users/admin/Desktop/experiments/run.py  
EYELINK Error during \_setEyesToTrack:  
\<type ‘exceptions.RuntimeError’\>  
RuntimeError(‘Not available in EyeLink CL mode.’,)  
[’ File “C:\PsychoPy2\lib\site-packages\psychopy-1.82.01-py2.7.egg\psychopy\iohub\devices\eyetracker\hw\sr\_research\eyelink\[eyetracker.py](http://eyetracker.py)”, line 1184, in \_setEyesToTrack\n self.\_eyelink.sendCommand(“current\_camera = %s”%(track\_eyes))\n’]

I tried commenting the section as in [here](https://groups.google.com/forum/#!topic/psychopy-users/yN1b312uJO4) "in the “\_setRuntimeSettings” method, comment out these 2 lines:  
#elif pkey == ‘track\_eyes’:  
#self.\_setEyesToTrack(v) "  
which lead to an error stating that it is unable to measure srate.  
Everything seems to work - but… I might have a wrong impression.

I will appreciate any ideas/help!  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Myjulo](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@Myjulo](https://discourse.psychopy.org/u/Myjulo)\
**Post date:** [June 6, 2019, 1:47pm UTC](https://discourse.psychopy.org/t/iohub-and-eyelink100plus-issue-with--seteyestotrack/1344/2 "2019-06-06T13:47:53Z")

</div>

I’m encountering the exact same error. Has it been resolved yet?

I’m using psychopy 3.1.2 installed through Anaconda, using python v3.6. My OS is Mac El capital 10.11.6. Eytracking system is also Eyewink 1000 plus.

I tried to run this example script: [https://github.com/psychopy/psychopy/blob/master/psychopy/demos/coder/iohub/eyetracking/simple.py](https://github.com/psychopy/psychopy/blob/master/psychopy/demos/coder/iohub/eyetracking/simple.py)
