lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,620
- Last Active
- Roles
- Administrator
Comments
-
Hi Marte, I think you should arrange your loops the other way around, such that the loop where you define the variable 'picture' is the outer loop, and the loop where you define the variable 'color' is the inner loop. To avoid all pictures being sh…
-
Hi Pooja, Could you perhaps open a new thread for your question, instead of posting it in the wishlist? Thanks in advance! :) Lotje
-
Hi, Perhaps this thread is of help: * http://forum.cogsci.nl/index.php?p=/discussion/591/open-differentiated-mouse-responses#Item_4 Let us know if you have any further questions! Best, Lotje
-
Great to hear! :)
-
Hi Lee, You can change the linewidth of, for example, a polygon by calling the function set_penwidth() right before drawing the shape. For example: from openexp.canvas import canvasmy_canvas = canvas(exp)my_canvas.set_penwidth(5)my_canvas.circle(1…
-
Good to hear! :) Let us know if you have any further questions!
-
Hi Wouter, I think it's most convenient if you define the correct responses (i.e., 1 or 3) in your block loop, and not in the mouse_response item. So: (Image) You can find a working example experiment here (simply download and "save as"…
-
Hi, The default value of the text_input option stub is "Type here...". To change this, for example into an empty string, simply add this keyword option, with the desired value, to your text_input widget: widget 0 2 1 1 text_input focus=&…
-
Hi Neon, If 'currentDigit' is a variable that is defined earlier in your experiment then your code should 'work' in the sense that it doesn't make your experiment crash. However, you are recreating the list item 'digitSpan', which is empty to begi…
-
Hi Lee, About the matching part, does something like this help? l1 = ["bunny", "puppy", "kitty"]l2 = ["first","second","third"]# Find index from list 1 that has the value 'puppy':index = …
-
Hi Masoud, I see what you mean. Unfortunately, I don't know of any method to do this in a fully-automatised manner. If I want to pseudo-randomise trial lists, I use Mix to generate new trial lists for every participant, and change the block loop a…
-
Oops, I didn't see Jona's response... ;)
-
Hi, Welcome to the forum. I'm not sure whether I understand your question correctly, but I think the following should work: Give your trial variables (e.g. 'image', 'text', 'x_image' and 'x_text') the correct values in a block_loop item. So, for …
-
Hi, When appending a sketchad item to the sequences within your loops, you have chosen 'append existing item'. That means that the newly-appended item is a copy of an already-existing one. Thus, if you change something in this sketchpad, it will ch…
-
Hi Massoud, To make pseudo-random trial lists, I would advise you to download a program called Mix. This allows you to put constraints like the ones you describe above, to your trial list. After making pseudorandom trial lists, you can simply copy-…
-
Hi, Every time the logger item is executed, a new row is created in your output file. So: (Image) I guess what you're looking for is a column header containing all the words presented on a given memory task in a single cell (such that one row co…
-
Hi, If you want to log all the variables that are used in a given loop, you have to place a logger item at the end of the sequence that this loop is iterating over. In your case, this means that you should append the existing logger item at the end…
-
Hi Manasi, I see what you mean: Changes in the form_multiple_choice items are indeed not saved. Thanks for pointing that out, I filed it as an issue here: * https://github.com/smathot/OpenSesame/issues/200 As a temporary solution (i.e., before th…
-
Hi Manasi, Okay, thanks for your quick response. Could you perhaps paste the OpenSesame code of (a couple of) your multiple choice items here? You can find the code by clicking on the 'edit script' button. (Image) Best, Lotje
-
Hi, Could you provide us with some more information? How did you define the variables that you don't see in the logger item? My first guess is that you gave all the words the same identifier name (e.g. 'word'). As a consequence, the value of this …
-
Hi Manasi, Are you using Mac OSX? Best, Lotje
-
Hi Stefan, I think you don't need to specify the values of your variables in a loop item in the GUI anymore. You can simply set() the variables in an inline_script item. More specifically: Declare your variable lists: Append an inline_script ite…
-
Hi Lee, I don't understand completely how you want to manipulate the text color of your word pairs. But in general I think you can do this via the graphical interface or via an inline_script item. Both should work fine. Via the graphical interface…
-
Hi Ollie, (Quote) The size of the picture is adapted to fit the cell it's placed in. Because you only changed the column span but not the row span, the size of the picture didn't change. Does changing the row span as well solve your problem? # Cha…
-
Hi, I see what you mean. You can immediately repeat an error trial by: 1.) Appending an inline_script item to the very end of your trial sequence: (Image) 2.) And placing the following code in its Run phase tab: # If participant gave an incorr…
-
Hi, I made an example experiment in which the participant has to search for a red circle (the target) among 15 distractors, placed on a 4x4 grid. A block has 16 trials, and the target will never appear on the same location within a given block. Fea…
-
Hi, You can add a repeat_cycle plug-in (typically) to the end of the trial_sequence. This plug-in has a 'Repeat if' statement, which you can set to any arbitrary criterion. For example, if the trial_sequence contains a keyboard_response item, and y…
-
Hi Dirk, Thanks for pointing these issues out! (Quote) I see what you mean. I posted it as an issue. For the moment, a work-around might be to set the color you want to use for the arrow as the foreground color of the corresponding canvas, like so…
-
Great to hear! Don't hesitate to post any further questions you may have!
-
Hi Noam, Yes, that's certainly possible! To make the response-flash interval depending on the given response: Firstly, place an inline_script item between the keyboard_response item and the flash: (Image) Secondly, place the following Python co…