sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi, (Quote) Thank you for pointing this out. Indeed, setting the focus keyword to any value, including "no", resulted in a form widget receiving focus. A bug on this has been filed and fixed: * https://github.com/smathot/OpenSesame/issue…
-
(Quote) Could you share the script that triggers this issue, please? Cheers, Sebastiaan
-
The API, in the sense of the routines that the user would normally interact with, is documented here: * http://osdoc.cogsci.nl/python/ But I'm guessing that you are really looking for a schematic of the source-code architecture, right? I'm afraid …
-
(Quote) Yes, you do. Under Windows, you will need to use some special driver to gain access to the parallel port. DLPortIO is one of those, and probably the easiest. (Quote) That should be fine. (Quote) If I remember correctly, you can find the po…
-
Hi Wouter, A button box is not a standard device, like a joystick or a keyboard, so it depends on what type of button box you have. For example, the SR Box communicates via the serial port, whereas some other button boxes are really just keyboards …
-
Hi Ezer, I would try to find out exactly how the device that you have in mind connects to the computer, and then see if there are Python modules available that support this type of connection. For example, if the device connects through the serial …
-
I just came across a tool that looks kind of interesting: ScriptingRT * http://reactiontimes.wordpress.com/scriptingrt/ If I understand correctly (I'm not familiar with this technology), it appears to be a Flash-based set of routines that interpre…
-
Hi Lena, (Quote) The logger item should be placed at the end of the trial sequence, which in your case is called Pos_Neg_Sequence. If you do this, everything should be logged as a normal multirow spreadsheet, which I'm guessing is what you need, ri…
-
Hi Martin, Could you perhaps upload your experimental script, for example to pastebin? Cheers, Sebastiaan
-
Thanks for reporting this. This bug is actually was already fixed in the development code! Cheers, Sebastiaan
-
(Quote) Maybe you can ask in the shop if you can try it out on a show model? You can run OpenSesame straight from a USB stick. (Quote) See this discussion: * http://forum.cogsci.nl/discussion/361 Cheers! Sebastiaan
-
Hi Emily, I think this is related to a bug in the Mac OS version, in which keypresses are not flushed. Basically, your structure is as follows: * target sketchpad (300ms) * blank sketchpad (0ms) * keyboard_response This means that the keyboard_re…
-
Hi Martin get_click() doesn't return a single value, but a so-called tuple, which is a set of variables. You have to 'unpack' this tuple into a response, a position, and a time variable. For example, like so: resp, position, time = my_mouse.get_cl…
-
Hi Katie, This is very strange, especially that the crashes accumulate even though you close OpenSesame in between successive runs. I suspect, like you, that there is a buffering issue at play, but I couldn't say exactly what or how. I forwarded th…
-
Hi Ben, I suspect that the help file has been copied and modified from another plug-in, but the resize option has not actually been implemented. The current behavior is that the video is always stretched across the full screen. What type of behavi…
-
Hi, The form_multiple_choice plug-in doesn't allow you to use images, but you can create a custom form in the form_base plug-in to accomplish this. Examples and documentation can be found here: * http://osdoc.cogsci.nl/forms/custom-forms/ Good l…
-
Hi Dror, Yes, but it's a bit indirect. You can go to the script editor (in the General properties tab) and copy the entire script from one experiment to another. You can also copy selected parts of the script, such as specific items. You will find…
-
Hi Martin, (Quote) The equivalent of get_key() for mouse objects is get_click(). from openexp.mouse import mousemy_mouse = mouse(exp)resp, position, time = my_mouse.get_click(timeout=timeout) * http://osdoc.cogsci.nl/python/mouse/#mouse.get_cl…
-
(Quote) Well, that boils down to stripping off the last three digits, right? So you can simply convert the datetime object to a str (which was already silently done by exp.set()) , and slice off the last three characters, like so: import datetimeno…
-
Btw, I was thinking, you could also give Tk a shot. That's an older module that does pretty much the same thing as wx. The following script should present a text input dialog and store the response as my_response. I'm not sure how this will behave i…
-
Hi Heather, The avbin.dll error is annoying, but harmless. The problem is the missing wx module: * http://www.wxpython.org/ The correct way to install a package in general is by opening a terminal (command prompt) in the folder where you have unz…
-
(Quote) The order in which the columns are set is essentially random, so you cannot assume a specific order. The visible order of the columns is kept constant in the GUI, but that's just because it's annoying if the columns keep jumping around (whic…
-
Hi Franck, (Quote) The jitter that you're seeing is presumably due to variation during the prepare phase that precedes each trial. That is, the timing within the trial should be very constant (when implemented properly, of course), but the timing b…
-
(Quote) In principle, yes. What makes it difficult is getting the matplotlib figure onto the OpenSesame canvas. You would probably have to first save it to a file and then have OpenSesame load the image from disk. So it's a hassle-but possible. (Qu…
-
(Quote) Right, that's quite an exotic character you have there! This asterisk is actually not an ASCII character (this one is: *), which is why it is not shown by the xpyriment back-end: It's simply not part of the default font. If you can find out …
-
Right, that looks like a possible implementation scheme, yes. The inner workings of the client-side part are still a bit unclear, though. What exactly do you mean with the terms in each of the boxes, e.g. what is the 'data exchange controller' and i…
-
Hi Lee, There doesn't appear to be a way to easily draw dotted or dashed lines using any of the common drawing toolkits. Matplotlib should be able to do it, and it should be importable in the WinPython OpenSesame package: * http://osdoc.cogsci.nl/…
-
Hi Lee, Whether the parallel plug-in works is very system dependent, so it could well be that it simply doesn't work properly on your system. There is no systematic fix yet, unfortunately. Your structure seems fine to me, and using an inline_scrip…
-
PsychoPy's PatchStim and GratingStim classes convert images to rectangular patches of power-of-two dimensions. This is required for technical reasons. You generally don't notice this, but at the pixel level things may go slightly wrong. For example,…
-
Hi Gladys, If you use the touch_response plug-in, you can divide the screen into four areas, each of which has a different response code (1, 2, 3, and 4). Using this, you can select which item should be executed based on which area of the screen is…