Hello everyone,
I’m using v3.0.2 standalone and I want to start an eyetracker from psychopy. On the Psychopy API website, there is no entry for the eyetracker yet (http://www.psychopy.org/api/iohub/device/eyetracker.html), so the issue might be with my PsychoPy code but also, external to PsychoPy, with the way I organize the SMI soft- or hardware. Any help narrowing down the error is greatly appreciated!
Initially, I received the warning: msgpack_numpy could not be imported. I have now installed msg_numpy as an external package (Add Costum Modules)
I no longer get the message, about msg_numpy, but I still cannot start an iohub connection. The following code is based on the Builder demo for eyetracking with iohub.
from psychopy.iohub.client import ioHubConnection, yload, yLoader
io_config=yload(open('SMI_iview_std_test.yaml','r'), Loader=yLoader)
# Create an ioHubConnection instance, which starts the ioHubProcess, and informs it of the requested devices and their configurations.
io=ioHubConnection(io_config)
if io.getDevice('tracker'):
eyetracker=io.getDevice('tracker')
But the iohubConnection throws an error:
ioHub Server Process Completed With Code: 1
Traceback (most recent call last):
File "C:\User1\Experiment_MSVR\startrecording_eyetracker.py", line 17, in <module>
io=ioHubConnection(io_config)
File "C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\iohub\client\__init__.py", line 290, in __init__
raise RuntimeError('Error starting ioHub server')
RuntimeError: Error starting ioHub server