eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Sabrina, It is super easy to extend it to three pages. See attached experiment. https://forum.cogsci.nl/uploads/490/HQMKQUSH81LG.osexp eduard
-
Hi James, This is indeed to intended behaviour. One reason this happens could be that you have accidentally put quotation marks around [word_response]. However, without seeing the experiment, it is hard to give the precise reason. So, share it if y…
-
Hi Judas, That is probably possible with the OpenCV2 library in Python. It requires Python coding though. Also, even though I am rather certain that it will work, I haven't tested it myself. Give it a go, and if you get stuck, we can try to help. …
-
Hi, That is not too complicated. You need two loops, one for learning, one for memorizing. In the learning phase, you randomly select 24 of your faces and present them to participants in a way that you want. In the recognition phase, you add the …
-
Hi Georgia, Can you be more specific on how it does not work? What happens instead? You can also share your experiment, then I will have a look. Eduard
-
Hi Nathalie, I moved your question to the JASP section of the forum. Maybe @EJ, can help you. Eduard
-
Hi Andres, Per level, you need to do three things: 1) Have a counter variable that keeps track of the number of consecutive errors 2) Depending on that counter, have a variable that decides whether the current block is continued or not 3) Dependi…
-
Hi Donglin, Can you try to save the variables simply as var.num1 = <value>? This is slightly less flexible that the exp.set() method ( you can't use it in a loop), but has the same effect eventually. Eduard
-
Hi, I am not sure I fully get your experiment, so I can't really help you. Regardless, it sounds like you have slightly advanced requirements for randomization. In this case, I think it makes sense to implement the trial sequence in an inline_scrip…
-
Hi, I tried to do this with full factorial design of the 8 colors but It keeps crashing so I assume that is a mistake. Shuffling 8 positions over 8 positions with a complete factorial design leads to 8^8 possible combinations, exceeding the memory …
-
Hi, After the keypress, you will have a variable called response.This variable can then be used in the sampler by accessing like this: [response]in the field that you need to access. For example, if they keypress is indicating which sound to l…
-
That is what I meant with "there is no other delay". If you have a keyboard response following your stimulus you don't need to sleep. In fact, you can specify the duration inside they response item (the timeout field). Suppose you have a …
-
Hi Lena, I think so. clock.sleep just halts the experiment for as many milliseconds as you specified in the brackets. If you wouldnt include it (and there is no other delay in your experiment),your experiment would instantly continue and present t…
-
Hi, What have you tried. If you need help, please provide the code that causes the problem. Otherwise I can't really do much. (And please also a little video that I can try running!) Eduard
-
Hi Hannah, Yes, I am afraid you need to do some inline scripting. Following advice: 1) For video presentation, use OpenCV2: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_gui/py_video_display/py_video_display.html It is a …
-
I suppose the reason is the run/prepare strategy of Opensesame: https://osdoc.cogsci.nl/3.2/manual/prepare-run/ I don't know what your code does, but some things take time, such as drawing onto a canvas. The more you draw the longer it takes. To fin…
-
Hi, Yes, for single keypress, use the the keyboard_response item. The response is stored in the variable var.response which you can then use to set conditions. If you have multi-character responses you should use the text input form: https://osdo…
-
Hi, You better test it directly like this: t0=clock.time() DlPortWritePortUchar(port,trigger) t1 = clock.time() var.duration = t1-t0 Otherwise there might be other processes that run in the background or things that also occur in these two inline_…
-
Hi Letizia, All the logger does is writing one line to the logfile with all variables that exist at that point. Therefore, you should add the logger there, where a trial ends in your design, so that you capture every response. Does that make sense?…
-
Hi, the dummy code could indeed cause these issues. Hard to tell though... But when you say the problem occurs only if an eyelink is installed on the machine, do you actually track the eyes or do you use the dummy mode? If dummy mode, does the prob…
-
Hi Georgia, You can put this inline_script as the first item into your trial loop (or last item). You can also just drag a sketchpad/feedback item in there, and set its run if field, to the count of the loop (similar to what you proposed above): […
-
Hi Ram, There are quite a few questions on co-routines on the forum. Some of which have working examples in them. You can use that for inspiration. The documentation that Daniel shared should also help a little. However, rereading your first post…
-
Hi, Are you sure the delay doesn't come from code before or after that line? How did you measure the delay? Normally sending things via the port is not taking a lot of time. Eduard
-
Hi Gilberto, I don't know whether this causes the issue that you describe, but you have basically a nested design: If the first question is answered with left, then ask a follow up on that, if that is answered with left again, ask another follow up…
-
Hi, I upload a file that shows an example block for one genre. So in a sequence, you can have multiple items. Start with the playback (duration =0!) and then add a sequence for all the stroop trials that you want to show. Does that make sense? Edu…
-
Hi, Try to make a separate loop for the third phase. So, something like this: Prime loop 1) Prime 2) fixdot 3) Lexical loop a) first word b) second word ... 4) Control Does that make sense? Eduard
-
Hi, The first problem is difficult to fix for several reasons. First, if python crashes, there is usually no informative error message, making debugging quite complicated. Second, the problem doesn't occur systematically. So, it is unlikely to be …
-
Hi Lena, The problem is in these lines: if var.subject_parity == 'even': s.text(var.screen_dict['welcome'][var.sex]) s.show() resp, time = s_keyboard.get_key() s.clear() That you have in each block as first code executed. Specifically, Whet…
-
Hi Paul, Can you be a little more specific? What is the problem? The experiment you describe is quite simple in its basic set up (in fact not different from the beginner's tutorial on the Opensesame documentation. The only added element is the sam…
-
You can PM here in the forum.