[solved] problem loading iViewXAPI.dll
We are encountering an error on running pygaze_init.py. The traceback indicates that there is a problem loading the iViewXAPI.dll - "WindowsError: [Error 193] %1 is not a valid Win32 application"
We know the module works because the module runs under pure PsychoPy, but this doesn't use PyGaze. Loading the module from the command line works, and the error only occurs within Openseasame when we add the pygaze to the experiment and when we try to manually load the module from the debug prompt. In both cases, we receive the above error. We've also ruled out that this is simply a path issue.
Very keen to get this up and running and any tips would be most appreciated.
We're running iViewX 2.8 build 26
iViewX SDK v3.6
OS: Windows 7
Eyetracking unit: SMI RED 250
Dual system setup connected via ethernet
Comments
Hi,
Is iViewXAPI.dll in the
pygaze\_eyetracker
directory? If it isn't, please do copy it in there and try again.I'm not sure why it would load via the command line and not via OpenSesame. What have you typed in exactly, to try to load it? Also, if you try the examples (e.g. the slideshow that come with the PyGaze package, do they run when you set the
TRACKERTYPE
to'smi'
?Thanks!
Edwin
Hi again,
We have ensured that the
iViewXAPI.dll
is in thepygaze\_eyetracker
directory and that theTRACKERTYPE
is set to'smi'
. Testing Pygaze externally (from within Psychopy) ran without problem, after we modified the connection settings (as we're using a dual system setup).However, when we try to run the most basic pygaze experiment within opensesame, we get the following error:
At this point, we're stumped...any ideas?
Thanks again for your help
One thing that comes to mind is that this DLL may not be compatible with the Python environment that is included with OpenSesame. For example, did you use a 64 bit python environment when testing PyGaze externally? Or are there any other notable differences between the two Python environments? You can type
modules ()
in the OpenSesame debug window to get a list of all relevant versions.Cheers!
Sebastiaan
There's much bigger issues in the world, I know. But I first have to take care of the world I know.
cogsci.nl/smathot
I've had the same problem. Deleting the file inpout32.dll from the OpenSesame directory (which seems to be corrupted) solved the problem for me and I was able to load the dll.
Thanks for sharing!
Many thanks for this. That seems to have solved the problem.
Hi,
If the iViewXAPI.dll is not in the _eyetracker, how is it possible to download it ?
I am trying to connect Opensesame 3.1.2 to an SMI eyetracker, and while my experiment worked fine with Eyelink 1000, it doesn't work with the SMI (a RED 500).
The error I get is the following :
Could someone help me with issue ? Please tell me if further details are required.
Jessica
@sebastiaan I am sorry I posted twice the same question. I did so because I thought my comment would not be seen here because the discussion is marked as "solved". Do you think I can have an answer here ?
The missing file (
iViewXAPI.dll
) is part of the iViewX SDK, the software-development kit provided by SMI. You probably received the SDK with your SMI device, but if you can request it from here:There's much bigger issues in the world, I know. But I first have to take care of the world I know.
cogsci.nl/smathot
@sebastiaan Thanks a lot for your answer, it is now perfectly working !
Best regards
Jessica
@Edwin "Is iViewXAPI.dll in the pygaze_eyetracker directory? If it isn't, please do copy it in there and try again."
I don't have that dll and I can't find it anywhere. Do you know where I can download it? or maybe you could upload it?
As @sebastiaan mentioned two comments up, the DLL is part of the SMI SDK. It's proprietary, so I'm afraid I can't upload it.