eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, I don't know how to properly solve the problem with the plugin, but what you could do is following. After a trial, once you saved the most recent file, you can use the python os package to rename the file to something else. The syntax is rather…
-
Hi Christelle, Can you try to loop up on the website of the V-pixx people whether they have a python api? To use that device to collect responses you have to access it via python (in an inline_script). The way this works exactly, I don't know and i…
-
Hi Boo, I attach a little script that should illustrate what I meant earlier. Basically, the idea is to reduce the number of sketchpads that you have to a single one and define the content of that sketchpad dynamically across loop iterations. This …
-
Hi, please don't post the same question multiple times. It will help us keeping the forum neat and clear. I will close this discussion as I have responded to your other discussion. Eduard
-
Hi Mollie, the problem is that you compute the correct response after the current response has been added to the response history. Add this line responses[0].correct = var.correct to line 5 in your correct_response_2_1_1_1 inline_script and it shou…
-
Hi, There are many, many ways to do that. First of all, if you are a super beginner, I recommend that you finish a few tutorials before you tackle your problems. This will make your life so much easier in the future and even though it will take so…
-
Hi Karma, Just with the plain mouse_response item, defining a correct response is limited to left vs right button presses (or maybe more if you have more buttons). It seems you want to define correct responses based, on where on the screen particip…
-
Hi, Do you mean the error occurs if you select File as Source in a loop item? Or are you manually trying to import openpyxl in an inline_script? Either way, maybe it helps if you update the datamatrix via pip in the debug window: The procedure is …
-
Hi Mollie, having complex if statements in the run if of break if field is quite tricky. It is very easy to mess things up and debugging takes a lot of time. I recommend you use an inline_script and following syntax: # this code has to be in the r…
-
Hi Boo, I think you have to set the resolution of your monitor to the dimensions of your old monitor. What is happening is that both the dimension in terms of width/height as well as in terms of pixel count changed. So basically, single pixels were…
-
Hi Mans, It is a little hard to imagine what the troubles are that you are encountering. Could you attach your experiment and a log file for us to have a look? I have a hunch what could be the problem and ideas how to solve it, but it's a little tr…
-
I think probably the easiest would be to define the mapping in the beginning of the experiment, and then replace the items. For example: import random# load the text file# as I dont have the text file I just create an example listexample_txt = [&qu…
-
Hi, What is the issue? That joysticks don't work with Psychopy? If so, then it probably won't work with Opensesame, as it is basically calling psychopy functions when the Psychopy backend is selected. But you could use Opensesame with other backend…
-
Hi Tita, I have never worked with the media player, so I don't know how it behaves in the end of a playback, but you could try to add an advanced delay item to your sequence, right after the media player. This should stall the experiment for the in…
-
Hi Boo, Just wondering, how do you know that the presentation time is not accurate? Is it really that much off, or did you actually measure the presentation time? Not sure whether it helps, but instead of having 20+ sketchpads in a single loop, you…
-
Hi Ellion, Is your folder with all the corrected files called "directory"? If not, you have to put the correct folder name it in that field. In case, this is not the problem, could you upload two or three of the corrected files? Eduard
-
Hi Volz, Yes, if python crashed, it is quite tricky to find out what is going on (as there is no error message) and it is most likely specific to your setup, so it is hard for me to reproduce the error and debug it. Well, if it runs on your Thinkp…
-
Hi, Can you give an example of what you mean with 'add custom variable'? In forms, you usually just assign a string to the parameter var of a form widget, to store the response to that widget. But maybe that is not what you mean? Eduard
-
Hi, I am not sure whether I entirely understand what you want to accomplish. So you have eight different words in total, and present them in a random order for 700 times in total. Is this correct? Or what information do you get from the template? …
-
Hi, I am not sure whether I understand your task correctly. Regardless, I don't think there is an easy way to tweak your experiment a little and get the desired behaviour. What I would do is not using the loop table for this but another inline_scri…
-
Hi GE, I'm not really sure what you mean with 'with large-to-small animation'? Generally, I think it will be difficult to combine calibration and validation in the same display. If you want to keep your kids entertained, maybe you can use different…
-
Hi Mirko, Have you seen this part of the documentation? It describes how you can make custom forms. In your case of having a long list of items. you can use a loop to iterate over that part of the code that adds new widgets to the form. Only make s…
-
Hi Schoi, The experiment files (osexp) is basically an archive that contains a number of files (e.g. the actual script, the file pool, etc). So unzipping it might reveal some information that can be retrieved. However, given your description, I wou…
-
Hi, I think something went wrong with the way you structured your experiment.You probably want to wrap your inline_script with a sequence item and add a feedback item to that sequence (basically the same structure as in the second part of your expe…
-
Hi, Would you mind rephrasing in English (provided that this is a real problem and not spam)? Eduard
-
Hi Cecilia, Can you also attach the files that are necessary to run the experiment? (and include the variables that were defined outside that script that you attached). thanks, Eduard
-
Hi Sabrina, This part of your code: def AGG(): if var.Gebland1 == 0: return True if var.Gebland1 == 1 and var.Gebland2 != u'': return True return False return var.Alter != u'' and var.Geschlecht != u'none' is probably …
-
Hi Charlotte, Yes, validators are definitely a good idea if you want to make sure that all the widgets are being answered. The end of this could be useful to you. Eduard
-
Hi Jana, You can use the text input form: https://osdoc.cogsci.nl/3.2/manual/forms/widgets/#text_input-textinput Right? Eduard
-
Hi Cecilia, can you paste your code as text? Otherwise I have to manually type it. If you copy the code between each three tildes (~) , it will be formatted as code (see Markdown) Eduard