sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,320
- Last Active
- Roles
- Administrator
Comments
-
Hi Russel, (Quote) Yes, you need to open it up. A PCI card is something that goes inside the computer. But do you really need a parallel port? They are awfully old-fashioned and hard to use. If it's just for eye tracking, then you probably need it…
-
Hi Bruno, It took me a while to figure this out, but it's fixed in the latest prerelease of 3.2.5 (now 3.2.5.a6). You can update through pip or, if you're running Ubuntu, through ppa:smathot/opensesame-kuhn. Alternatively, you can simply insert th…
-
Hi Roelof, What happens if you select one of the themes under "Basic and High Contrast Themes"? Those will not use any of the fancy aero graphics, which may interfere with V Sync. Cheers! Sebastiaan
-
Hi Martina, This appears to be a character encoding bug in PyGaze. If you select a logfile location that doesn't have any special (non-ascii) characters in it, does the error go away? Cheers! Sebastiaan
-
Hi, Python's serial module expects byte strings: strings of characters that each reflects a single byte. The chr() function will convert a byte value to its corresponding character. So sending 109 104 255 0 would be: exp.serial_port.write(chr(109)…
-
Hi Emilie, (Quote) Numpy is a generic library for numeric computing. You need it for many things. (Quote) Possibly, but it's difficult to say. What happens if you run import numpy in the debug window? You'll probably get an error message. Could y…
-
Hi, Let's focus on the (x, y) part of this line: button, (x, y), time_key_up = my_mouse.get_click_release(timeout=500) If a timeout occurs, the second return value will be None, and not an x, y tuple. Trying to assign None to the x, y tuple resul…
-
(Quote) Yes, that's quite easy because you can use css styling, like so: checkbox1 = Checkbox( text='<span style="color:red;">1</span>', group='education', var='Resp') (Quote) Not really, although you can monkey-patc…
-
Hi, After taking a closer look at the E-Prime and pyxid code, I'd say that the stimtracker uses a specific protocol. That is, you cannot send random bytes and expect the device to respond to that, but rather you need to send a specific byte sequenc…
-
Hi Martina, It looks like you're using an old version of OpenSesame that includes older version of all the necessary libraries. So the Tobii functionality is probably simply broken. Would it be an option to upgrade to the latest version of OpenSes…
-
One thing that comes to mind is that the triggers are only registered when a change occurs. With a parallel port that's certainly the case. With a serial it doesn't need to be, but perhaps they mimic that behavior. So what happens if you do: exp.se…
-
(A bit late but hopefully still useful.) If memory serves me, this resetting happens when the cursor is made visible. What if you first call my_mouse.show_cursor(True) and then afterwards change the position?
-
Hi Martina, Have you tried running OpenSesame as adminstrator? If you have, could you post the complete error message that you see in the debug window? (It seems that you posted only the beginning.) (Quote) If you want to do this from the debug wi…
-
Hi Martina, You need to install the tobii-research package. The easiest way to do that is with the Python package manager: * http://osdoc.cogsci.nl/3.2/manual/environment/ Cheers! Sebastiaan
-
Right, I see now. By default, OpenSesame forces garbage collection after each sequence, to avoid unpredictable delays due to the garbage collection kicking in unexpectedly. However, in your case this is no good, because everything happens inside one…
-
Hi Meg, I don't know the answer to this question. However, you posted this exact same question in multiple discussions! In the future, please help us keep the forum clean, and post each question only once! Cheers, Sebastiaan
-
Good to hear you figured it out!
-
Hi Ester, Really? They took the SDK offline? The links that are provided on @Edwin's PyGaze documentation are indeed broken, but it seems that you can still register and log onto the SMI site. Could you first double-check that there's indeed no way…
-
Hi FlintMarco, Let's think about how to debug this issue: The most obvious possibility is that the trigger code is simply not executed. So how could you find this out? * Add a print("Sending trigger!") line to the code that also sends a …
-
(Quote) Right, it's not installed by default on Ubuntu! (It is on Windows.) You can install it through pip (use pip3 for Python 3): pip install python-qtpip And no, it's different from the plugin and extension manager, which allows you to enable/ …
-
Hi Gérard, It sounds like you've copied the source file to OpenSesame's file pool, and then continued to modify the original file, rather than the copy in the file pool. To modify the file in the file pool, simply right click on it in the file-pool…
-
Hi FlintMarco, There are several issues mixed up here. Rather than posting them all here without any further information, let's tackle them one at a time. This: import serialvar.experiment.serial_port = serial.Serial('COM3', baudrate=115200, byte…
-
Hi Roelof, This is going to be tricky to resolve, but it will be helpful to know the following: Python environments are completely separate, and don't share libraries, except in two cases (that I can think of): * When you have the PYTHON_PATH set …
-
Hi Stephan, This error ("Python seems to have crashed") is never because you did something wrong. It always reflects a bug somewhere in the low-level libraries used by OpenSesame, or even Python itself (but the former is more likely), tha…
-
Hi Sylvain, Yes, you can do that with the coroutines item! * http://osdoc.cogsci.nl/3.2/manual/structure/coroutines/ Cheers! Sebastiaan
-
Hi Sylvain, @_Bob made this set of plugins: * https://github.com/dev-jam/opensesame_plugin_-_audio_low_latency I don't have any experience with them myself, but they seem worth checking out. Cheers! Sebastiaan
-
Hi Jonathan, (Quote) Yes, indeed. Probably not Windows itself, but some application that's running in the background. For example, on our lab computers, there was a citrix client that caused this behavior. The best approach would be to check which…
-
Hi Roelof, That's a strange error. Two things come to mind: * Something corrupted your Python environment. Downloading OpenSesame again and seeing if the problem persists would be a good check. * The lbfgsb uses some functionality that is not supp…
-
Hi, If you select a file source in a loop, the table automatically disappears, like so: (Image) So what exactly have you done, and in what sense doesn't it work as expected? Cheers! Sebastiaan
-
(Quote) It depends on how OpenSesame is installed. The Windows and Mac OS packages come with their own Python environment, which is based on Anaconda. On Ubuntu, OpenSesame is installed into the normal Python environment of the system. This means t…