Fab
About
- Username
- Fab
- Joined
- Visits
- 2,594
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi @bkogan86, Can you clarify what kind of object contains that text? inline_javascript? inline_html? Something else? Fabrice.
-
Hi @CarlaC, The following method might for for you (I tried it and it worked in Chrome; I assume it should work in all browsers): Insert a inline_javascript object with the following code at the very beginning of your task: document.querySelectorAll…
-
Hi @LillianCox, I'm not involved in the development of Open Sesame, but I don't think what you are trying to do is possible. I'm pretty sure that verion 4 contains changes under the bonnet that are saved with the experiment and that version 3 isn't …
-
Hi @CarlaC, It is generally not a good idea to multiply the loggers, but it's not really possible to address the issue in your specific cae without seeing exactly how you've implemented the logger. Could you post your experiment to this forum (or a …
-
Hi @sophiie, The easiest way to deal with if your experiement was not running in a browser would be to use the constrain command in the loop's script. However, This function is not currently supported by OSWeb. So I can think of two options in your …
-
Hi @Greg, You'll need to modify your task to replace all the keyboard oobject by mouse response objects and add in the necessary bits to identify what participants have clcked on (or in your case, touched). You can find information about the mouse r…
-
Hi @CarlaC, I'm not sure how you display your circles, whether you somehow draw then using coding or whether you're using pictures (most probably you're doing the latter). Regions of interest are indeed related to the objects and pictures are rectan…
-
Hi @DVdB, Adding to what @sebastiaan recommended, you should move the logger out of the co-coutinres object but withing the same sequence as that the co-routine object is part of (otherwise, it odes indeed only log the last trial because your logger…
-
Hi @amoupsou, Glad it helped and that you worked out a way to make it run 👍 Good luck with your study! Fabrice.
-
Hi @schuetzin, Based on my understanding of your description, you want the feedback to be displayed in relation to the comprehension question and so, only to show on the few trials where a comprehension question is presented. Ths simplest method is …
-
Hi @vaishtables, Can you reformulate and provide more information? I don't understand your description. It sounds as if you want the program to use information from a row different from that being executed. That just can't be done. The two images sh…
-
Hi @schuetzin , I couldn't run your task 'cause I don't have a parallel port and I'm using Open Sesame 4 (your program contains a style of coding frmo an earlier version that has been simplified in OS4). You can check the release notes and documenta…
-
Hi @Ingrid_D, That falls somewhat outside the remits of the forum. My recommendation would be to take some time to read up about some of the basic methods in Javascript such as functions, arrays, If you do so, the following code will make more sens…
-
Hi @JordiServerius, It is possible. The most typical way is to set the duration of the stimulus to 0ms and insert the keyboard object right after (this is demonstrated in the tutorials/documentation; if you haven't checked it out yet, I strongly rec…
-
Hi @amoupsou, In the example you sent me, your variables are empty... For example: my_sampler1 = Sampler(var.StimulusAudio1) The variable StimulusAudio1 is empty... So you need to wirk out why. If you look carefully at console output, you'll see the…
-
Hi @EJacobs, In OpenSesame, collecting and appending multiple keyboard responses in the same trial involves using a loop to repeatedly capture keyboard input and then appending these inputs to a list or string. The simplest way to achieve this is to…
-
Hi @amoupsou, Regarding the code, though it can be simplified with some higher level programming, if the current code is working for you and you understand how it works, I'd keep it.The alternative is to use a what is called a "dictionnary"…
-
Hi @amoupsou, Without seeing the rest of the task, based on your description, I'd say that your code could be simplified to be more efficient, but the key problem seems to be that by the time the object code is being run, some variables are not defi…
-
Hi @ns111021, It is not possible to ascertain what is wrong with your task just based on your description. Please upload a stripped down version of your task so I can take a look. Best, Fabrice.
-
Hi @m.vel, I took a look at your new version and spotted the following problems: (1) the name of the variable you use to refer to the correct response did not correspond in the loop and in your evaluation code. In the code you are using correct_resp…
-
Hi @m.vel, I believe you'll find the solution to this in my reply to your other thread: https://forum.cogsci.nl/discussion/9018/invalid-value-for-correct-response#latest Please also check out this tutorial: https://youtu.be/21cgX_zHDiA?si=C9SS2IutH0…
-
Hi @m.vel, When replying, if you use my handler (@Fab), I get notified that a message has arrived for me. I've had a quick look at your task. Here are some of the problems I spotted. First, for mouse responses, you need to use code to compute var.co…
-
Hi @m.vel, I'd start with checking what the response variable loks like. You could output it to the console to see exactly what gets registered when you click on an option. This might help identifying why the computation of the score fails. Have you…
-
Hi @joelsolo99, I'm not sure what you mean by "two items". What do you define as an item? Could you share your task here? Regards, Fabrice.
-
Hi @willvdk, Your task runs fine on my computer. The only explanation I see for the problem you're describing is that other project members are using a different version of Open Sesame (I'd recommend always using the most recent one), or that they h…
-
Hi @jdmill51, It sounds as if you included your instructions within the trial sequence instead of before the loop. To present the instructions once and then run the block of trials, place the instructions before the loop containing your list of tria…
-
Hi @Tryfonas_Bikos, If the var.acc variables does not do the trick, you can implement your own variable to tracvk accuracy. Simply setup variables to count the number of trials, the number of correct responses and proportion correct to zero. var.ntr…
-
Hi @Sim_trying, Try opening the csv file in a text editor to see whether the same occurs. I suspect the issue has to do with your regional settings in Windows, which affects how Excel interprets the comma. Best, Fabrice.
-
Hi @Tryfonas_Bikos, The "break if" option prevents a loop from starting a new cycle buyt does not interrupt an ongoing cycle. So, if you have 10 trials cycling 5 times and fulfill the condition for an interruption through the "break i…
-
Hi @amoupsou, I had a quick look, spotted that some of your code has an identation problem (some lines of code start with an empty space, which confuses Python). But that in itself does not solve the problem. I don't typically display stimuli using …