eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
closed as duplicate of #4099
-
Hi Marton, the function log.write_vars() takes as input a list of variables that you want to write. So, if you call it like this: log.write_vars(), all variables are being stored. If you only want to have a subset, than you have to use log.write_va…
-
Hi Estelle, Attached a screenshot of what a frame "does" to a button. So, I don't think it is what you have in mind. In any case you can try it on your experiment, just add the argument frame=True to the part of the code that defines each…
-
HI, Yes, it is a single call. Basically, once updating the screen and showing the canvas and then immediately proceeding to the mouse response and waiting for a click until the end of the timeout (2000ms). Once it was clicked (or time is up) it wil…
-
Maybe you can upload the experiment somewhere else and share the download link here? FOr example, www.wetransfer.com ? From looking at your screenshots, I can't see anything apparently wrong with it. Eduard
-
Hi Ana Clara, If you replace the two lines with these two here: var.experiment_start_time = clock.time()var.experiment_end_time = clock.time() Does it work then? Eduard
-
Oh, my bad. That was the wrong function, timeout has to be part of form initialization not widget creation. That code here should work. var.start_time = clock.time()timeout = 180000def resetForm(): form = Form( cols=[1,1], rows=[1,2,1],…
-
Hi, No, it wasn't set. In the prepare phase, there should be this code: var.start_time = clock.time()timeout = 180000def resetForm(): form = Form( cols=[1,1], rows=[1,2,1], margins=(50,100,50,100), spacing=25) text_input = Tex…
-
No idea, I don't have much experience with tablets. @sebastiaan: Do you have any recommendations?
-
Hi estelle, (Quote) This wouldn't lead to missing response times. have you added a logger to your experiment? And are you collecting responses? If you share your structure and/or experiment, we will quickly be able to find out what is wrong. Euda…
-
Hi, 1) create a list with eights ones and 24 zeros: play_sound = [1]*8 + [0]*24 2) Put inside your sampler's run if statement the current value of that variable. If it is one it will run it, of it is zero, it won't. =play_sound[trial_no]==1 Do …
-
Hi, I think this is because the experiment is simply over, no? If you have a sleep statement after the loop, it would stay on screen? But I must admit I haven't tried it myself. Eduard
-
Yes! Just add timeout = <your timeout in milliseconds> to the creation of the form (prepare phase line 5). Eduard
-
Well yes. It works just like in the real world. If one object covers the other (and they are opaque), you only see the one on top. In case of opensesame, the one that is drawn last. But still both objects exist at that location, so that you get both…
-
Hi Marton, You have to to add the line start_time = clock.time() to the part while loop (in stimulus_presentation) that is executed when a response was given. This will solve both issues. Eduard
-
Normally, the manual page (osdoc.cogsci.nl) is the place to look. But for some reason the function set_visible() is not mentioned there. If you can't find info there, just browse the forum (or ask a question).
-
Hi Sylvain, Unfortunately that is not possible, but a nice work around would be to draw two shapes, the first one only outlined. The second one slightly smaller but filled. You know what I mean? Eduard
-
Hi, Can you try replacing my_mouse.show_cursor(show='true') with my_mouse.set_visible(True)? Eduard
-
Hi, (Quote) Confirmed. (Quote) Probably true, but given the ease with which to fix it, there is no reason why not optimizing it. Also, yourwhile loop doesn't do anything currently. The button is pressed before, so that the while loop is effective…
-
Hi Frederik, (Quote) Yes, that is what he means. There is no video-playback plugin that works on Android, so the format doesn't matter, it just doesn't work unfortunately. Eduard
-
Hi Froukehe, Feedback items are prepared in the run phase, Sketchpads in the prepare phase and depending on where you put your code in an inline_script it can be either. The response variable is defined on run time, that means that whenever you pre…
-
Hi Dirk, Maybe this discussion helps: http://forum.cogsci.nl/index.php?p=/discussion/3344/form-text-input-mouse-cursor good luck, Eduard
-
Hi Sophie, Can you share your experiment? I suspect the variable is somewhere in the unused items which would make it appear in the variable inspector, but not in the actual experiment. Anyway, with your experiment, I will be able to tell with cert…
-
Hi Sylvain, Could you also just use a mouse_response item rather than an inline_script in between the sketchpads? This sounds like a bug though, would you mind opening an issue on github? Eduard
-
Hi, The attached experiment implements a counter. Depending on whether you want the score to be reset after every block or never, you have to adjust the structure of the experiment. Hope this helps, Eudard
-
Hi Jasper, I have no idea about Mantra, but I would recommend either buying, or building a chin/forehead rest. That's usually sufficient to make sure participants don't move. E.g.: https://www.google.nl/search?q=chin+forehead+rest&dcr=0&so…
-
Hi, (Quote) No error message? If not, then try to set up the number of repetitions in your loop table to a higher number. (Quote) Sure, but is there a problem with that? If you need help, you should give us a little more info on what is actually w…
-
(Quote) Yes, I think this is the right thing to do. Basically you need a unique line in your loop table for each example you have. Eduard
-
Hi Marta, A little better but I have still trouble understanding the problem. Why can't you combine all information in a single block? If the trial sequence is always the same (Present Sentence -->button press (read)-->another sentence (?)--&…
-
Hi, I recommend to use text_input_forms. You can collect all kinds of information like that. The error message seems to be quite straightforward, it Good luck, Eduard