eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Bartek, I am not sure, but I don't think the cursor_roi functionality is available for osweb and Jatos. Therefore, you probably won't be able to link the sampler to the mouse click. See here: https://osdoc.cogsci.nl/3.3/manual/osweb/#supported-…
-
Hi Zoe, Yes that is possible. You can define whatever the correct response should be. For example, a response has been given, you can set the correct response like this: if var.response >= 0.6 and var.response <= 0.8: var.correct = 1 els…
-
When you say it must repeat, do you mean task B has to be executed multiple times (like in a loop) or at multiple, random times in the loop of doing task A? If it is the first case, you probably best wrap a loop-sequence structure around your task B…
-
Hi Tcar, If I understand right, you could do 2 things: 1) Use the background color for the part of the circle that you want to omit, so that it won't be visible. 2) Break the loop once you have drawn the part of the circle that you want to see. E…
-
Hi Ryan, Have yo seen this function: https://osdoc.cogsci.nl/3.3/manual/python/canvas/#function-canvas46text95size40text-centertrue-max95widthnone-4242style95args41 I think this should be helpful to solve your issue. If you need the size of every l…
-
Hi Cloe, I replied in the other discussion. Please don't post the same question multiple times. That will make it hard to keep the forum organised. I will close this discussion. Eduard
-
Hi Tanto, Can you try to use this command? import pip._internal pip._internal.main(['install', '--process-dependency-links', 'https://github.com/psynteract/psynteract-os/archive/stable.zip']) Maybe that will do the trick?
-
Hi, If it is indeed a Python3 compatibility thing, you have to wait until SMI provides support for it. You might want to write them to inquire about that. But if the company doesn't exist anymore, that might be difficult... Sorry, Eduard
-
Hi, I'm not sure how the video plugin works exactly, but I think you can run an inline_script in the background in which you can collect responses without each of them triggering the video to stop. (check out this part of the documentation: https:/…
-
Hi Christophe, I think it is fine like that. To be perhaps a little more precise with respect to the timing, you could use not a hard coded +200, but add the time of the first response item as onset (the variable is probably called time__200) and s…
-
Hi Cloe, This is just a guess, but I assume the output file is overwritten on each trial. What other options do you have except "append suffix to file"? Can you also specify the file name directly? If so, you could do that on every trial,…
-
Hi Vassilis, Unfortunately, it is not possible to collect the response times for actions that happen within a form. The only time information you can retrieve from it is when it was opened and when it was closed. So, in order to get the response ti…
-
Hi Jarrod, I might be mistaken, but I think you have to install Opensesame in a regular way before you can use the runner. Could that be it? Eduard
-
Hi Jelmer, Yes, unfortunately you are right. The mouse trap plugin is not available at the moment and as I understood won't be any time soon. As you can also create and access the mouse item through the javascript_inline_script, I have no advice t…
-
1) That should be possible, I don't know the functions from the top of my head, but if you use a js_inline_script once in the beginning of the experiment to start the timer and then once later every time you want to check the passed time, you should…
-
Hi Francesca, For the foreseeable future, the mouse trap functionality will not be available in Osweb, so running your study online won't work that easily, I am afraid. I'm myself not very experienced with osweb, so I also don't have much advise to…
-
Hi Francesca, Memory could be the problem (particularly given that the error you report is a MemoryError). You can try to reduce the memory load to check whether this is indeed the problem. So, take out a good number of images and see whether it wo…
-
Hi, do you have more details on the problem? An error message or so? If there is none, it might be something in the way your experiment is designed. Maybe you can try to play around with some settings to see what it does to your experiment? For exa…
-
Hi, Inline_scripts are not supported in their python implementation. However, you can use a javascript inline_script instead. This means that you have to translate your code to javascrip, and, if I remember right, not all functionality can be ported…
-
Hi Katherina, There is no "official" voice key function in Opensesame, so you probably have to some coding yourself. Nevertheless, there are a couple of versions floating around the forum. How about you give it a browse? For example, this…
-
Hi, It actually has to do with line 26 (and 27 and 28 to be specific). When creating a canvas,mouse or keyboard you have to capitalize the first letter. Or, import the lowercase functions from openexp (e.g. from openexp import canvas). After I cha…
-
https://forum.cogsci.nl/uploads/682/2A6ZMYON0TPW.osexp Hi, I am not sure about the functions that you have used, but the experiment attached basically implements the idea. From there you can explore and adapt to your needs. Good luck, Eduard
-
Hi Alice, The sound recorder plugins are very old, they were written for outdated versions of Opensesame. I don't know whether they generally work with the current version or not. In other words, I don't know whether your problem is a general one, …
-
Hi Angie, You are right, with a mouse item, some form widgets and an inline_script you can definitely do this. It is somewhat different, but you can checkout https://forum.cogsci.nl/discussion/5839/click-on-words-and-display-meaning#latest discussi…
-
Hi, By the way, what does '(named elements not supported)' in the feedback/sketchpad item mean? Does it mean that i cannot put variables in the text? Since version 3.2 it is possible to not just draw things on a canvas but assign it a name. This has…
-
Hi Lee, If your experiment allows for it, you can sleep for a little while (e.g. 10 ms ) on every iteration. for x in range(100): clock.sleep(10) print(clock.time()) Does that do the trick? Eduard
-
Hi, Please don't ask the same question multiple times. This will make it very hard to keep the forum neat. I will close this discussion in place of this one here: https://forum.cogsci.nl/discussion/comment/18750#Comment_18750
-
Hi Lee, I don't know whether this makes sense (I've never worked with Serial ports), but maybe you have unset a trigger before sending a new trigger. So in between exp.port.write(str(1)) amd exp.port.write(str(2)), send exp.port.write(str(0)). I s…
-
Hi, An easy hack is to present two identical sketchpads with a response item in between, so that it looks as if the image is presented longer than they keypress. Proper solutions require some inline_coding, not terribly difficult, but something you…
-
Hi Louisa, I don't know what could cause the issue with OsWeb, but one work around could be to directly access a clock object and set the current time. For that you could probably just use an inline_script item and then code with javascript a singl…