Josh
About
- Username
- Josh
- Joined
- Visits
- 255
- Last Active
- Roles
- Member, Moderator
Comments
-
I've also learned just now that the space and return keys (which may have been pressed following a keyboard item) cannot be used for run-if and break-if statements. Return is a reserved keyword in java and cannot be used as identifier. The space tri…
-
Hi both, I've had the exact same problem; for some reason in OSWeb the loop item doesn't correctly validate the break-if statement. Perhaps it expects java code (although I tried a lot of variations without success). Here's my own temporary solutio…
-
Hi May, yes, the way you set up your trial procedure, participants couldn't respond prior to 750 ms after stimulus onset..! You would need to add 750 to all RTs so that 23 ms becomes 773 ms, but of course it's reasonable to assume that people will …
-
I just want to express my disappointment about this update not being called Kinky Kuhn
-
Greetings Ed
-
Hi Pia, changing coordinates_list into exp.coordinates_list might work. The logger automatically stores all variables that are made available to the whole experiment (without .exp the variable can only be called within inline_scripts, but not, for i…
-
Hi Pia, You could append the latest coordinates to a list variable each iteration through the loop. So right after the my_mouse.get_pos() command, you place a line with coordinates_list.append((x,y)). Be sure to create the list variable prior to ap…
-
Hi Pia, color_of_draw_var (first line of your code) is unequal to var.color_of_draw_var (second line of your code) Cheers
-
Hi Pia, port.sendMessage("overview " + str(var.jar)) Cheers
-
Hi, in Python, if-statements need a double point (": "), so in your case, if theCorrectAnswer == response_answer_1: # do something Cheers Josh
-
Hi, By what means are you trying to invert the image? Cheers
-
Hi, Values equal to zero are usually due to a loss of signal, e.g. due to blinking. Are your participants instructed to not blink during a trial? Aside from that, of course the EyeTribe is not the greatest eye-tracker, despite it being amazingly ch…
-
Hi Eva, what is it that you want to accomplish? Your Condition loop item will output condition = 1 and condition = 2 in random fashion, so it's logical that Condition1 and Condition2 are randomly run, right? Or do you mean you'd want to have the p…
-
Hi, For random questions you may want to copy something from sites like this one: http://allysrandomage.blogspot.nl/2007/06/101-random-questions.html As for how you could interrupt participants at random intervals, it would be best to set the dura…
-
Hi Eva, your second loop item should be placed in a sequence item, together with the sketchpad that shows the instruction. Thus, the first loop shouldn't contain the second loop, but rather a sequence item that contains the second loop. Cheers Josh
-
Hi Tasha, You could create a variable that increases 1 in value each iteration through your trial sequence. For instance, at the beginning of your experiment place an inline_script with exp.trial_counter = 1. At the end of your trial sequence place…
-
Hi, you could just place your sampler item right after the sketchpad item, and set the duration of your sketchpad to 0 ms (the screen will not change when moving on to the sampler) Cheers
-
Hi, Do you mean that you can't clear the timeout- or other fields? Or do you want to add the delete button as allowed/correct response? (that is done by entering "DELETE") Cheers Josh
-
Hi, You could do this with a sketchpad, but you'll probably need an inline script anyway (for instance for declaring in which order the sounds are presented), and if you manage to do that in a script, then using a canvas won't be difficult either. …
-
Hi, Did you insert a timeout value? Because the experiment will always proceed when the timeout is reached (and it will log 'none' as a response). If not, then I'd like to know what you've entered in the allowed responses box exactly. Cheers, Josh
-
Sure.
-
Hi, You need to set the timeout parameter in the get_key() command; e.g., my_keyboard.get_key(timeout = 1). This collects a key over the course of 1ms, and thus collects a 'none' for every millisecond that no key was pressed. Then there's still the…
-
Hi, You could make use of the break-if option (tick the special options box in the loop item to reveal it), for instance using a statement to break from the loop when a trial counter hits 30. Cheers Josh
-
Hi Laurent, and goedenavond Jenna, If I understand correctly, Jenna's problem is that the next-button only works after participants have pressed Enter at least once. Of course, the next button should work regardless of whether participants have pre…
-
Hi Michel, Wouldn't it suffice to just log all the parameters that determine what the screen will look like? If not, then there's python code to just save a printscreen to a file, see for instance this topic on another forum: http://stackoverflow.…
-
Hi Claudie, Your whole experiment is contained in one sequence item, named experiment by default. When clicking on that sequence item (just like any other sequence item), you see a list of everything (e.g. block loops), and there's the option to de…
-
Hi, how is it that pictures are repeatedly shown? What does "list out all the possibilities" look like exactly? I would think your loop item should show just one variable, with two values positive and negative, cycled 25 times. Cheers, J…
-
Well, there's always more elegant ways. You could use a single inline script and a single logger, placed in a sequence item that is looped 20 times. But since you used 20 questionnaires, I reckoned it would be easier to just stick to your strategy :…