Get the stroop eye movement to work on PC… (2) What version of PsychoPy should I chose? Latest? (1) Should I use Tobii’s software to start things? Try it on different macs, then … The questions are: Get the stroop eye movement to work on PC. For monitor_devices, is the “device_number” then same as the PsychoPy screen number? Since I can get the keyboard version to work, I will start there this afternoon on the PC, then move back to the mac.ĥ. Note that link is 404, but I could find the file (2) () which needs a few corrections for Python3 (3) The stroop IOhub eyemovement (and keyboard). On the Mac System Preference > Security and Privacy > Accessibility I have allowed PsychoPy2 and PsychoP圓 to control my computer.Ĥ, Actually I now have 3 example builder programs and accompanying yaml files: (1) Chapter 19 and link on pg 258. I think I have to maybe use Tobii’s software to get it started, what do you think?ģ. I think I have to do that with the Tobii software controller, which I did have on my mac, but erased it (thinking that was the problem). It didn’t work but I didn’t get the message that it did not connect to iohub. Next I tried the Stroop with eye movements on the PC. In PsychoP圓 there is a window for selecting version of PsychoPy, what should I chose, “latest” or something else.Ģ. **It did not work on my Macintosh, so then I tried it on an old PC I own and it worked with PsychoP圓!! **There were a lot of warnings and I do not know what version of Python it used. I went back to a simple keyboard IOHub program, Stroop example, which I found buried in PsychoPy. Let me tell you what I have tried and what worked and did not work. We will have 3 Macs, so we can see if it's my Mac or something else. Later this week I am working with an undergraduate who understands Python better than I do. Sol, Thank you for all the work you have done with PsychoPy and your suggestions. I would like to wait until they support Python 3.6 to do so as I do not really want to spend the time getting 3.5 setup. I have not tested the Tobii on macOS yet. When Tobii releases a version for Python 3.6, then I believe Jon will start to include it in the macOS and Windows builds for Python 3.6. I am not the best one to explain how to do this on macOS. So to use the Tobii you will need to setup a Python 3.5 environment with all the needed dependencies. Last I checked, the latest Tobii Python SDK supports up to Python 3.5. Using the latest PsychoP圓 source and Windows 10 I am able to run all the coder eye tracker demos with all a GazePoint GP3, SR Research EyeLink 1000, and Tobii T120 with the following notes: We have done a lot of work getting iohub working again in PsychoP圓 / Python 3, including support for keyboard and mouse, as well as these eye trackers: gazepoint, tobii, and sr research. Your post reminds me that I need to check if the Builder iohub demos also work I’ve only been thinking in Coder space. It is probably better to try and work with the latest PsychoP圓 Python 3.6 standalone and start from basics and build up from there.ĭid you add the PsychoP圓 app to authorized application list, or whatever macOS calls it now? You need to do this or iohub can not get keyboard or mouse events.Īny of the demos/coder/iohub examples should now work (in the case of eyetracking, if eye tracker device is supported on macOS). In system settings>privacy>accessibility allow PsychPy to do whatever. Could I have something running that interferes with the ioHUB. I get the exact same error with PsychoPy2 and PsychoP圓. I thought something might be wrong with my computer so I reinstalled the OS 3 times and ran every diagnostic I could think of. RuntimeError: Error starting ioHub server First, I am sure I am in the correct folder.įile “/Users/williamprinzmet/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/client/ init.py”, line 290, in init With the Tobii eyetracker example this is the slimmest thing I could do. Jon once suggested that I use the shell to find out what is being loaded. The yaml file is in the same folder as the program. I changed the screen dimensions in the yaml file to fit my screen, and other things. I tried all kinds of variations with the tobii and the code in Chapter 19 of the PsychoPy book (excellent, BTW). Io = client.ioHubConnection(io_config) It does write an empty. It only involves a keyboard so it should work. I downloaded PsychoPy2, and just tried the demo Stroop (ioHUB keyboard). I stated trying to make a Tobii eye tracker work with PsychoP圓, but that was way beyond me.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |